pub enum Value<'s> {
Int(Int<'s>),
Float(Float<'s>),
Str(Str<'s>),
Char(Char<'s>),
Bool(bool),
List(List<'s>),
Map(Map<'s>),
Unit(&'s str),
Tuple(Tuple<'s>),
Struct(Struct<'s>),
}Variants§
Int(Int<'s>)
Float(Float<'s>)
Str(Str<'s>)
Char(Char<'s>)
Bool(bool)
List(List<'s>)
Map(Map<'s>)
Unit(&'s str)
Tuple(Tuple<'s>)
Struct(Struct<'s>)
Trait Implementations§
impl<'s> StructuralPartialEq for Value<'s>
Auto Trait Implementations§
impl<'s> Freeze for Value<'s>
impl<'s> RefUnwindSafe for Value<'s>
impl<'s> Send for Value<'s>
impl<'s> Sync for Value<'s>
impl<'s> Unpin for Value<'s>
impl<'s> UnwindSafe for Value<'s>
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