pub struct Memo<T>where
T: 'static,{ /* private fields */ }Expand description
Zero-overhead Copy handle to a lazy, glitch-free memoized reactive computation.
Implementations§
Trait Implementations§
Source§impl<T> Clone for Memo<T>where
T: 'static,
Manual Clone implementation so Memo<T> is always Copy.
impl<T> Clone for Memo<T>where
T: 'static,
Manual Clone implementation so Memo<T> is always Copy.
impl<T> Copy for Memo<T>where
T: 'static,
Marker Copy implementation for Memo<T>.
impl<T> Eq for Memo<T>where
T: 'static,
Reflexive equality for Memo<T>.
Auto Trait Implementations§
impl<T> Forget for Memo<T>
impl<T> Freeze for Memo<T>
impl<T> Move for Memo<T>
impl<T> RefUnwindSafe for Memo<T>
impl<T> Send for Memo<T>
impl<T> Sync for Memo<T>
impl<T> Unpin for Memo<T>
impl<T> UnsafeUnpin for Memo<T>
impl<T> UnwindSafe for Memo<T>
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