pub enum Kind {
Null,
Bool,
Number,
String,
Array,
Object,
}Expand description
值的种类。
真实数据里没有 Undefined——键缺失由 Data::get 返回 None 表达,
求值器内部再把它映射成 Val::Undefined。
Variants§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Forget for Kind
impl Freeze for Kind
impl Move 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§
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