pub enum Value {
Number(Number),
DateTime(GenericDateTime),
Substance(Substance),
}Variants§
Implementations§
Source§impl Value
impl Value
pub fn shl(&self, other: &Value) -> Result<Value, String>
pub fn shr(&self, other: &Value) -> Result<Value, String>
pub fn rem(&self, other: &Value) -> Result<Value, String>
pub fn and(&self, other: &Value) -> Result<Value, String>
pub fn or(&self, other: &Value) -> Result<Value, String>
pub fn xor(&self, other: &Value) -> Result<Value, String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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