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