pub enum ItemSelectorTyped {
Submenu {
title: String,
},
Label {
title: String,
},
}Variants§
Select the first submenu item with the given title.
Note: if multiple submenus share the same title, prefer using an index anchor instead.
Label
Select the first label item with the given title.
Note: if multiple labels share the same title, prefer using an index anchor instead.
Trait Implementations§
Source§impl Clone for ItemSelectorTyped
impl Clone for ItemSelectorTyped
Source§fn clone(&self) -> ItemSelectorTyped
fn clone(&self) -> ItemSelectorTyped
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ItemSelectorTyped
impl Debug for ItemSelectorTyped
Source§impl<'de> Deserialize<'de> for ItemSelectorTyped
impl<'de> Deserialize<'de> for ItemSelectorTyped
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ItemSelectorTyped
impl PartialEq for ItemSelectorTyped
impl Eq for ItemSelectorTyped
impl StructuralPartialEq for ItemSelectorTyped
Auto Trait Implementations§
impl Freeze for ItemSelectorTyped
impl RefUnwindSafe for ItemSelectorTyped
impl Send for ItemSelectorTyped
impl Sync for ItemSelectorTyped
impl Unpin for ItemSelectorTyped
impl UnsafeUnpin for ItemSelectorTyped
impl UnwindSafe for ItemSelectorTyped
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more