Enum som_interpreter_bc::compiler::Literal
source · pub enum Literal {
Symbol(Interned),
String(Rc<String>),
Double(f64),
Integer(i64),
BigInteger(BigInt),
Array(Vec<u8>),
Block(Rc<Block>),
}
Variants§
Symbol(Interned)
String(Rc<String>)
Double(f64)
Integer(i64)
BigInteger(BigInt)
Array(Vec<u8>)
Block(Rc<Block>)
Trait Implementations§
source§impl PartialEq for Literal
impl PartialEq for Literal
impl Eq for Literal
Auto Trait Implementations§
impl Freeze for Literal
impl !RefUnwindSafe for Literal
impl !Send for Literal
impl !Sync for Literal
impl Unpin for Literal
impl !UnwindSafe for Literal
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.