pub enum LiteralTypes {
Array(Vec<Literal>),
String(String),
Boolean(bool),
Number(usize),
}
Variants§
Trait Implementations§
Source§impl Clone for LiteralTypes
impl Clone for LiteralTypes
Source§fn clone(&self) -> LiteralTypes
fn clone(&self) -> LiteralTypes
Returns a duplicate 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 LiteralTypes
impl Debug for LiteralTypes
Source§impl PartialEq for LiteralTypes
impl PartialEq for LiteralTypes
Source§impl Serialize for LiteralTypes
impl Serialize for LiteralTypes
impl Eq for LiteralTypes
impl StructuralPartialEq for LiteralTypes
Auto Trait Implementations§
impl Freeze for LiteralTypes
impl RefUnwindSafe for LiteralTypes
impl Send for LiteralTypes
impl Sync for LiteralTypes
impl Unpin for LiteralTypes
impl UnwindSafe for LiteralTypes
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