pub enum Kind {
Null,
Bool(bool),
Int(i64),
UInt(u64),
Float(f64),
Str(String),
Seq(Vec<Node>),
Map(Vec<(Key, Node)>),
}Variants§
Null
Bool(bool)
Int(i64)
UInt(u64)
Float(f64)
Str(String)
Seq(Vec<Node>)
Map(Vec<(Key, Node)>)
In the file’s order. Keys are strings: a scalar key (2024:) keeps its spelling.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
Blanket Implementations§
impl<T> Allocation for T
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