pub enum Value<'i> {
Bool(bool),
Bytes(OctetStr<'i>),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
List(ListType),
}
Expand description
SML value type
Variants§
Bool(bool)
Bytes(OctetStr<'i>)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
List(ListType)
Trait Implementations§
impl<'i> Eq for Value<'i>
impl<'i> StructuralPartialEq for Value<'i>
Auto Trait Implementations§
impl<'i> Freeze for Value<'i>
impl<'i> RefUnwindSafe for Value<'i>
impl<'i> Send for Value<'i>
impl<'i> Sync for Value<'i>
impl<'i> Unpin for Value<'i>
impl<'i> UnwindSafe for Value<'i>
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