Struct expresso::expression::Expression [−][src]
Implementations
impl Expression
[src]
pub fn new() -> Self
[src]
pub fn enable_upgrade_of_literals_to_strings(&mut self)
[src]
pub fn from_str(&mut self, buffer: &str) -> Result<()>
[src]
pub fn is_valid(&self) -> bool
[src]
pub fn result_as_i32(&self, machine: &mut Machine) -> Option<i32>
[src]
pub fn result_as_i32_or(&self, machine: &mut Machine, default: i32) -> i32
[src]
pub fn run(&self, machine: &mut Machine) -> VariableStack
[src]
Trait Implementations
impl Debug for Expression
[src]
impl Display for Expression
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,