pub enum Atom {
UUID(UUID),
Integer(i64),
Float(f64),
String(String),
}Expand description
An Atom in RON is an immutable value of one of the types: UUID, integer, string and float.
Variants§
UUID(UUID)
References another object
Integer(i64)
Signed integer. RON specifies arbitrary precision integer, we only support up to 64 bits.
Float(f64)
IEEE 754 Floating point number.
String(String)
UTF-8 String
Implementations§
Trait Implementations§
impl Eq for Atom
Auto Trait Implementations§
impl Freeze for Atom
impl RefUnwindSafe for Atom
impl Send for Atom
impl Sync for Atom
impl Unpin for Atom
impl UnwindSafe for Atom
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