Enum cargo_wizard::TomlValue
source · pub enum TomlValue {
Int(i64),
Bool(bool),
String(String),
}Expand description
Representation of a numeric, boolean or a string TOML value.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for TomlValue
impl PartialEq for TomlValue
impl Eq for TomlValue
impl StructuralPartialEq for TomlValue
Auto Trait Implementations§
impl RefUnwindSafe for TomlValue
impl Send for TomlValue
impl Sync for TomlValue
impl Unpin 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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.