pub struct CompiledExpr { /* private fields */ }Expand description
Compiled expression ready for repeated evaluation.
Opaque to callers — only inspectable via argument_names
and is_complex.
Implementations§
Source§impl CompiledExpr
impl CompiledExpr
Sourcepub fn argument_names(&self) -> &[String]
pub fn argument_names(&self) -> &[String]
Names of free variables (arguments) in declaration order.
Sourcepub fn is_complex(&self) -> bool
pub fn is_complex(&self) -> bool
Whether the expression contains complex literals or imaginary unit.
Trait Implementations§
Source§impl Clone for CompiledExpr
impl Clone for CompiledExpr
Source§fn clone(&self) -> CompiledExpr
fn clone(&self) -> CompiledExpr
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 CompiledExpr
impl Debug for CompiledExpr
Source§impl<'de> Deserialize<'de> for CompiledExpr
impl<'de> Deserialize<'de> for CompiledExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CompiledExpr
impl RefUnwindSafe for CompiledExpr
impl Send for CompiledExpr
impl Sync for CompiledExpr
impl Unpin for CompiledExpr
impl UnsafeUnpin for CompiledExpr
impl UnwindSafe for CompiledExpr
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