pub enum TransientValue {
Bool(bool),
String(String),
}Expand description
A single value in the transient state (flag or argument).
Variants§
Trait Implementations§
Source§impl Clone for TransientValue
impl Clone for TransientValue
Source§fn clone(&self) -> TransientValue
fn clone(&self) -> TransientValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransientValue
impl RefUnwindSafe for TransientValue
impl Send for TransientValue
impl Sync for TransientValue
impl Unpin for TransientValue
impl UnsafeUnpin for TransientValue
impl UnwindSafe for TransientValue
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