pub struct ErasedInliner {
pub inlined: u64,
/* private fields */
}Expand description
Inline simple constants in an erased expression.
Fields§
§inlined: u64Implementations§
Source§impl ErasedInliner
impl ErasedInliner
Sourcepub fn register(&mut self, name: &str, def: ErasedExprExt)
pub fn register(&mut self, name: &str, def: ErasedExprExt)
Register a constant definition.
Sourcepub fn inline(&mut self, expr: ErasedExprExt) -> ErasedExprExt
pub fn inline(&mut self, expr: ErasedExprExt) -> ErasedExprExt
Inline constants in an expression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErasedInliner
impl RefUnwindSafe for ErasedInliner
impl Send for ErasedInliner
impl Sync for ErasedInliner
impl Unpin for ErasedInliner
impl UnsafeUnpin for ErasedInliner
impl UnwindSafe for ErasedInliner
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