Struct druid::menu::MenuLensWrap
source · pub struct MenuLensWrap<L, U> { /* private fields */ }
Expand description
A wrapper for a menu item (or submenu) to give it access to a part of its parent data.
This is the menu analogue of LensWrap
. You will usually create it with Menu::lens
or
MenuItem::lens
instead of using this struct directly.
Trait Implementations§
Auto Trait Implementations§
impl<L, U> !RefUnwindSafe for MenuLensWrap<L, U>
impl<L, U> !Send for MenuLensWrap<L, U>
impl<L, U> !Sync for MenuLensWrap<L, U>
impl<L, U> Unpin for MenuLensWrap<L, U>where L: Unpin, U: Unpin,
impl<L, U> !UnwindSafe for MenuLensWrap<L, U>
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.