pub enum Toml {
Str(String),
Bool(bool),
Num(f64),
Date(String),
Array(Vec<HashMap<String, Toml>>),
SimpleArray(Vec<Toml>),
}Expand description
A TOML value.
Variants
Str(String)
Bool(bool)
Num(f64)
Date(String)
Array(Vec<HashMap<String, Toml>>)
SimpleArray(Vec<Toml>)
Implementations
Trait Implementations
impl StructuralPartialEq for Toml
Auto Trait Implementations
impl RefUnwindSafe for Toml
impl Send for Toml
impl Sync for Toml
impl Unpin for Toml
impl UnwindSafe for Toml
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more