nvim_oxi_api/opts/
exec_autocmds.rs1use crate::Buffer;
2use crate::{StringOrInt, StringOrListOfStrings};
3
4#[derive(Clone, Debug, Default, macros::OptsBuilder)]
6#[repr(C)]
7pub struct ExecAutocmdsOpts {
8 #[builder(mask)]
9 mask: u64,
10
11 #[builder(argtype = "Buffer", inline = "{0}.0")]
14 buffer: types::BufHandle,
15
16 #[builder(
18 generics = "G: StringOrInt",
19 argtype = "G",
20 inline = "{0}.to_object()"
21 )]
22 group: types::Object,
23
24 #[builder(argtype = "bool")]
26 modeline: types::Boolean,
27
28 #[builder(
31 generics = "P: StringOrListOfStrings",
32 method = "patterns",
33 argtype = "P",
34 inline = "{0}.to_object()"
35 )]
36 pattern: types::Object,
37
38 #[builder(
39 generics = "D: Into<types::Object>",
40 argtype = "D",
41 inline = "{0}.into()"
42 )]
43 data: types::Object,
44}