Enum frui::prelude::WidgetKind
source · [−]pub enum WidgetKind<'a> {
View(&'a (dyn ViewWidgetOS + 'a)),
Inherited(&'a (dyn InheritedWidgetOS + 'a)),
Leaf(&'a (dyn LeafWidgetOS + 'a)),
SingleChild(&'a (dyn SingleChildWidgetOS + 'a)),
MultiChild(&'a (dyn MultiChildWidgetOS + 'a)),
}Variants
View(&'a (dyn ViewWidgetOS + 'a))
Inherited(&'a (dyn InheritedWidgetOS + 'a))
Leaf(&'a (dyn LeafWidgetOS + 'a))
SingleChild(&'a (dyn SingleChildWidgetOS + 'a))
MultiChild(&'a (dyn MultiChildWidgetOS + 'a))
Trait Implementations
sourceimpl<'a> Clone for WidgetKind<'a>
impl<'a> Clone for WidgetKind<'a>
sourcefn clone(&self) -> WidgetKind<'a>
fn clone(&self) -> WidgetKind<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for WidgetKind<'a>
Auto Trait Implementations
impl<'a> !Immutable for WidgetKind<'a>
impl<'a> !RefUnwindSafe for WidgetKind<'a>
impl<'a> !Send for WidgetKind<'a>
impl<'a> !Sync for WidgetKind<'a>
impl<'a> Unpin for WidgetKind<'a>
impl<'a> !UnwindSafe for WidgetKind<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more