pub struct MenuEntry<T> { /* private fields */ }
Expand description
An entry in a menu.
An entry is either a MenuItem
, a submenu (i.e. Menu
), or one of a few other
possibilities (such as one of the two options above, wrapped in a MenuLensWrap
).
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for MenuEntry<T>
impl<T> !Send for MenuEntry<T>
impl<T> !Sync for MenuEntry<T>
impl<T> Unpin for MenuEntry<T>
impl<T> !UnwindSafe for MenuEntry<T>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.