[][src]Struct druid::widget::IdentityWrapper

pub struct IdentityWrapper<W> { /* fields omitted */ }

A wrapper that adds an identity to an otherwise anonymous widget.

Methods

impl<W> IdentityWrapper<W>[src]

pub fn wrap(inner: W, id: WidgetId) -> IdentityWrapper<W>[src]

Assign an identity to a widget.

Trait Implementations

impl<T: Data, W: Widget<T>> Widget<T> for IdentityWrapper<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for IdentityWrapper<W> where
    W: RefUnwindSafe

impl<W> Send for IdentityWrapper<W> where
    W: Send

impl<W> Sync for IdentityWrapper<W> where
    W: Sync

impl<W> Unpin for IdentityWrapper<W> where
    W: Unpin

impl<W> UnwindSafe for IdentityWrapper<W> where
    W: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.