Struct burn::module::StateNamed
source · [−]Fields
values: HashMap<String, State<E>>
Implementations
sourceimpl<E: Element> StateNamed<E>
impl<E: Element> StateNamed<E>
Trait Implementations
sourceimpl<E: Debug> Debug for StateNamed<E>
impl<E: Debug> Debug for StateNamed<E>
sourceimpl<E: Default> Default for StateNamed<E>
impl<E: Default> Default for StateNamed<E>
sourcefn default() -> StateNamed<E>
fn default() -> StateNamed<E>
Returns the “default value” for a type. Read more
sourceimpl<E: Element> From<StateNamed<E>> for Valuewhere
E: DeserializeOwned,
E: Serialize,
impl<E: Element> From<StateNamed<E>> for Valuewhere
E: DeserializeOwned,
E: Serialize,
sourcefn from(state: StateNamed<E>) -> Value
fn from(state: StateNamed<E>) -> Value
Converts to this type from the input type.
sourceimpl<E: PartialEq> PartialEq<StateNamed<E>> for StateNamed<E>
impl<E: PartialEq> PartialEq<StateNamed<E>> for StateNamed<E>
sourcefn eq(&self, other: &StateNamed<E>) -> bool
fn eq(&self, other: &StateNamed<E>) -> bool
sourceimpl<E> TryFrom<Value> for StateNamed<E>where
E: DeserializeOwned,
E: Serialize,
impl<E> TryFrom<Value> for StateNamed<E>where
E: DeserializeOwned,
E: Serialize,
impl<E: Eq> Eq for StateNamed<E>
impl<E> StructuralEq for StateNamed<E>
impl<E> StructuralPartialEq for StateNamed<E>
Auto Trait Implementations
impl<E> RefUnwindSafe for StateNamed<E>where
E: RefUnwindSafe,
impl<E> Send for StateNamed<E>where
E: Send,
impl<E> Sync for StateNamed<E>where
E: Sync,
impl<E> Unpin for StateNamed<E>where
E: Unpin,
impl<E> UnwindSafe for StateNamed<E>where
E: UnwindSafe,
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