pub enum TomlValue {
Str(String),
Int(i64),
Bool(bool),
Array(Vec<String>),
}Expand description
A scalar or string-array value from a manifest line.
Variants§
Str(String)
A quoted string.
Int(i64)
A signed integer.
Bool(bool)
A boolean.
Array(Vec<String>)
A single-line array of strings.
Implementations§
Trait Implementations§
impl Eq for TomlValue
impl StructuralPartialEq for TomlValue
Auto Trait Implementations§
impl Freeze for TomlValue
impl RefUnwindSafe for TomlValue
impl Send for TomlValue
impl Sync for TomlValue
impl Unpin for TomlValue
impl UnsafeUnpin for TomlValue
impl UnwindSafe for TomlValue
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