Struct druid::menu::MenuLensWrap [−][src]
pub struct MenuLensWrap<L, U> { /* fields omitted */ }
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
type Output = T
type Output = T
Should always be Self
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more