Struct expresso::expression::Expression
source · [−]pub struct Expression { /* private fields */ }
Implementations
sourceimpl Expression
impl Expression
pub fn new() -> Self
pub fn enable_upgrade_of_literals_to_strings(&mut self)
pub fn from_str(&mut self, buffer: &str) -> Result<()>
pub fn is_valid(&self) -> bool
pub fn result_as_i32(&self, machine: &mut Machine) -> Option<i32>
pub fn result_as_i32_or(&self, machine: &mut Machine, default: i32) -> i32
pub fn run(&self, machine: &mut Machine) -> VariableStack
Trait Implementations
sourceimpl Debug for Expression
impl Debug for Expression
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more