pub enum SmlValue<'a> {
Bool(bool),
Bytes(&'a [u8]),
Int(i64),
Uint(u64),
Time(Time),
}Expand description
The value of a list entry: SML_Value.
Variants§
Bool(bool)
A boolean.
Bytes(&'a [u8])
A byte string: identifiers, text, signatures.
Int(i64)
A signed integer.
Uint(u64)
An unsigned integer.
Time(Time)
A point in time (SML_ListType, choice smlTime).
Implementations§
Trait Implementations§
impl<'a> Copy for SmlValue<'a>
impl<'a> Eq for SmlValue<'a>
impl<'a> StructuralPartialEq for SmlValue<'a>
Auto Trait Implementations§
impl<'a> Forget for SmlValue<'a>
impl<'a> Freeze for SmlValue<'a>
impl<'a> Move for SmlValue<'a>
impl<'a> RefUnwindSafe for SmlValue<'a>
impl<'a> Send for SmlValue<'a>
impl<'a> Sync for SmlValue<'a>
impl<'a> Unpin for SmlValue<'a>
impl<'a> UnsafeUnpin for SmlValue<'a>where
&'a [u8]: UnsafeUnpin,
impl<'a> UnwindSafe for SmlValue<'a>where
&'a [u8]: UnwindSafe,
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