pub enum JohnValue {
JohnAbyss,
JohnBool(bool),
JohnInt(i64),
JohnFloat(f64),
JohnString(String),
JohnChar(char),
JohnArray(Vec<JohnValue>),
JohnObject(HashMap<String, JohnValue>),
JohnTuple(Vec<JohnValue>),
JohnRange(i64, i64, Option<i64>),
JohnIndex(bool, i64),
JohnVersion(i64, i64, Option<i64>, Option<i64>),
}
Variants§
JohnAbyss
JohnBool(bool)
JohnInt(i64)
JohnFloat(f64)
JohnString(String)
JohnChar(char)
JohnArray(Vec<JohnValue>)
JohnObject(HashMap<String, JohnValue>)
JohnTuple(Vec<JohnValue>)
JohnRange(i64, i64, Option<i64>)
JohnIndex(bool, i64)
JohnVersion(i64, i64, Option<i64>, Option<i64>)
Trait Implementations§
impl StructuralPartialEq for JohnValue
Auto Trait Implementations§
impl Freeze for JohnValue
impl RefUnwindSafe for JohnValue
impl Send for JohnValue
impl Sync for JohnValue
impl Unpin for JohnValue
impl UnwindSafe for JohnValue
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