Struct glory_core::widgets::Each
source · pub struct Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>where
Value: Debug + 'static,
ITter: AsRef<[Value]> + Debug + 'static,
KeyFn: Fn(&Value) -> Key + 'static,
Key: Eq + Hash + Clone + Debug + 'static,
TmplFn: Fn(&Value) -> Tmpl + 'static,
Tmpl: Widget + 'static,{ /* private fields */ }Implementations§
Trait Implementations§
source§impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> Debug for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> Debug for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
source§impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> Widget for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> Widget for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
fn build(&mut self, ctx: &mut Scope)
fn patch(&mut self, ctx: &mut Scope)
fn store_in(self, parent: &mut Scope) -> ViewIdwhere
Self: Sized,
fn show_in(self, parent: &mut Scope) -> ViewIdwhere
Self: Sized,
fn mount_to(self, ctx: Scope, parent_node: &Node) -> ViewIdwhere
Self: Sized,
fn attach(&mut self, _ctx: &mut Scope)
fn detach(&mut self, ctx: &mut Scope)
fn detach_children(&mut self, ctx: &mut Scope)
Auto Trait Implementations§
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> !RefUnwindSafe for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> !Send for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> !Sync for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> Unpin for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
impl<Value, ITter, KeyFn, Key, TmplFn, Tmpl> !UnwindSafe for Each<Value, ITter, KeyFn, Key, TmplFn, Tmpl>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more