pub struct Brain<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T: Default + Clone> MemoryDefaultRetrieval<T> for Brain<T>
impl<T: Default + Clone> MemoryDefaultRetrieval<T> for Brain<T>
fn retrieve_or_default(&self, key: &str) -> T
Auto Trait Implementations§
impl<T> Freeze for Brain<T>
impl<T> !RefUnwindSafe for Brain<T>
impl<T> Send for Brain<T>
impl<T> Sync for Brain<T>
impl<T> Unpin for Brain<T>
impl<T> !UnwindSafe for Brain<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