pub enum LiteralMetadata {
Boolean(bool),
String(String),
UInt(u64, Radix, Type),
Int(i64, Radix, Type),
Float(String, Type),
Enum(String, Type),
EmptySequence,
EmptyMap,
Null,
}
Variants§
Boolean(bool)
String(String)
UInt(u64, Radix, Type)
Int(i64, Radix, Type)
Float(String, Type)
Enum(String, Type)
EmptySequence
EmptyMap
Null
Trait Implementations§
Source§impl Clone for LiteralMetadata
impl Clone for LiteralMetadata
Source§fn clone(&self) -> LiteralMetadata
fn clone(&self) -> LiteralMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LiteralMetadata
impl Debug for LiteralMetadata
Source§impl Ord for LiteralMetadata
impl Ord for LiteralMetadata
Source§fn cmp(&self, other: &LiteralMetadata) -> Ordering
fn cmp(&self, other: &LiteralMetadata) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LiteralMetadata
impl PartialEq for LiteralMetadata
Source§impl PartialOrd for LiteralMetadata
impl PartialOrd for LiteralMetadata
impl Eq for LiteralMetadata
impl StructuralPartialEq for LiteralMetadata
Auto Trait Implementations§
impl Freeze for LiteralMetadata
impl RefUnwindSafe for LiteralMetadata
impl Send for LiteralMetadata
impl Sync for LiteralMetadata
impl Unpin for LiteralMetadata
impl UnwindSafe for LiteralMetadata
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