pub enum InitialValue {
Int(i64),
Str(String),
Nil,
}Expand description
Initial value for a state.
Variants§
Trait Implementations§
Source§impl Clone for InitialValue
impl Clone for InitialValue
Source§fn clone(&self) -> InitialValue
fn clone(&self) -> InitialValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InitialValue
impl RefUnwindSafe for InitialValue
impl Send for InitialValue
impl Sync for InitialValue
impl Unpin for InitialValue
impl UnsafeUnpin for InitialValue
impl UnwindSafe for InitialValue
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