pub enum ExprLiteral {
String(String),
Number(String),
Bool(bool),
Null,
Ident(String),
}Variants§
Trait Implementations§
Source§impl Clone for ExprLiteral
impl Clone for ExprLiteral
Source§fn clone(&self) -> ExprLiteral
fn clone(&self) -> ExprLiteral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExprLiteral
impl Debug for ExprLiteral
impl Eq for ExprLiteral
Source§impl PartialEq for ExprLiteral
impl PartialEq for ExprLiteral
impl StructuralPartialEq for ExprLiteral
Auto Trait Implementations§
impl Freeze for ExprLiteral
impl RefUnwindSafe for ExprLiteral
impl Send for ExprLiteral
impl Sync for ExprLiteral
impl Unpin for ExprLiteral
impl UnsafeUnpin for ExprLiteral
impl UnwindSafe for ExprLiteral
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