pub enum VariantValue {
Int(i64),
Bool(bool),
String(String),
}Variants§
Implementations§
Source§impl VariantValue
impl VariantValue
pub fn to_i64(&self, random_state: &RandomState) -> i64
Trait Implementations§
Source§impl Clone for VariantValue
impl Clone for VariantValue
Source§fn clone(&self) -> VariantValue
fn clone(&self) -> VariantValue
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 VariantValue
impl RefUnwindSafe for VariantValue
impl Send for VariantValue
impl Sync for VariantValue
impl Unpin for VariantValue
impl UnwindSafe for VariantValue
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