nvim_oxi_api/opts/
set_mark.rs

1/// Options passed to [`Buffer::set_mark()`](crate::Buffer::get_mark).
2/// Currently unused.
3#[derive(Clone, Debug, Default, macros::OptsBuilder)]
4#[repr(C)]
5pub struct SetMarkOpts {
6    #[cfg(feature = "neovim-0-10")] // On 0.10 and nightly.
7    #[builder(mask)]
8    mask: u64,
9}
10
11#[cfg(not(feature = "neovim-0-10"))] // 0nly on 0.9.
12impl From<&SetMarkOpts> for types::Dictionary {
13    fn from(_: &SetMarkOpts) -> Self {
14        Self::new()
15    }
16}