pub enum ValueContent {
ToBeDetermined,
Free(String),
Real(f64),
Integer(isize),
Bool(bool),
}
Expand description
Value’s contents.
Variants§
ToBeDetermined
Special placeholder value.
Free(String)
Free (textual) value.
Real(f64)
Real value.
Integer(isize)
An integer value.
Bool(bool)
Boolean value.
Trait Implementations§
Source§impl Clone for ValueContent
impl Clone for ValueContent
Source§fn clone(&self) -> ValueContent
fn clone(&self) -> ValueContent
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 moreSource§impl Debug for ValueContent
impl Debug for ValueContent
Source§impl Default for ValueContent
impl Default for ValueContent
Source§fn default() -> ValueContent
fn default() -> ValueContent
Returns the “default value” for a type. Read more
Source§impl Display for ValueContent
impl Display for ValueContent
Source§impl PartialEq for ValueContent
impl PartialEq for ValueContent
impl StructuralPartialEq for ValueContent
Auto Trait Implementations§
impl Freeze for ValueContent
impl RefUnwindSafe for ValueContent
impl Send for ValueContent
impl Sync for ValueContent
impl Unpin for ValueContent
impl UnwindSafe for ValueContent
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