pub enum LiteralNode {
Integer(i64),
Float(f64),
String(String),
Symbol(String),
Boolean(bool),
Nil,
}Expand description
字面量节点
Variants§
Trait Implementations§
Source§impl Clone for LiteralNode
impl Clone for LiteralNode
Source§fn clone(&self) -> LiteralNode
fn clone(&self) -> LiteralNode
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 LiteralNode
impl Debug for LiteralNode
Source§impl PartialEq for LiteralNode
impl PartialEq for LiteralNode
impl StructuralPartialEq for LiteralNode
Auto Trait Implementations§
impl Freeze for LiteralNode
impl RefUnwindSafe for LiteralNode
impl Send for LiteralNode
impl Sync for LiteralNode
impl Unpin for LiteralNode
impl UnwindSafe for LiteralNode
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