nvim_oxi_api/opts/
parse_cmd.rs

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