nvim_oxi_api/opts/buf_delete.rs
1/// Options passed to [`Buffer::attach`](crate::Buffer::attach).
2#[derive(Clone, Debug, Default, macros::OptsBuilder)]
3#[repr(C)]
4pub struct BufDeleteOpts {
5 #[builder(mask)]
6 mask: u64,
7
8 /// Force deletion ignoring unsaved changes.
9 #[builder(argtype = "bool")]
10 force: types::Boolean,
11
12 /// If `true` the buffer will only be unloaded, not deleted.
13 #[builder(argtype = "bool")]
14 unload: types::Boolean,
15}