pub enum StateValue {
String(String),
Count(u32),
Int(i32),
Scalar(f32),
}Expand description
A value in a session’s State.
Variants§
String(String)
Text value.
Count(u32)
Nonnegative counter.
Int(i32)
Signed integer value.
Scalar(f32)
Floating-point value.
Trait Implementations§
Source§impl Clone for StateValue
impl Clone for StateValue
Auto Trait Implementations§
impl Forget for StateValue
impl Freeze for StateValue
impl Move for StateValue
impl RefUnwindSafe for StateValue
impl Send for StateValue
impl Sync for StateValue
impl Unpin for StateValue
impl UnsafeUnpin for StateValue
impl UnwindSafe for StateValue
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