pub struct Remember<F, S, G, V> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T, A, F, S, G, V> View<T, A> for Remember<F, S, G, V>where
F: FnMut() -> S,
G: FnMut(&mut S) -> V,
V: View<S, A>,
impl<T, A, F, S, G, V> View<T, A> for Remember<F, S, G, V>where F: FnMut() -> S, G: FnMut(&mut S) -> V, V: View<S, A>,
fn build(&mut self, cx: &mut BuildContext) -> Id
fn rebuild(&mut self, cx: &mut BuildContext, old: &mut Self)
fn layout(&mut self, cx: &mut LayoutContext, id: Id)
fn paint(&mut self, taffy: &Taffy, canvas: &mut Canvas)
fn message( &mut self, _state: &mut T, id_path: &[Id], message: &dyn Any ) -> Option<A>
Auto Trait Implementations§
impl<F, S, G, V> RefUnwindSafe for Remember<F, S, G, V>where F: RefUnwindSafe, G: RefUnwindSafe, S: RefUnwindSafe, V: RefUnwindSafe,
impl<F, S, G, V> Send for Remember<F, S, G, V>where F: Send, G: Send, S: Send, V: Send,
impl<F, S, G, V> Sync for Remember<F, S, G, V>where F: Sync, G: Sync, S: Sync, V: Sync,
impl<F, S, G, V> Unpin for Remember<F, S, G, V>where F: Unpin, G: Unpin, S: Unpin, V: Unpin,
impl<F, S, G, V> UnwindSafe for Remember<F, S, G, V>where F: UnwindSafe, G: UnwindSafe, S: UnwindSafe, V: UnwindSafe,
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