pub struct ReusingAllocator { /* private fields */ }
Expand description
Reusing allocator, assigns all intermediates to a set of mutable variables that get continuously reused.
Trait Implementations§
Source§impl Default for ReusingAllocator
impl Default for ReusingAllocator
Source§fn default() -> ReusingAllocator
fn default() -> ReusingAllocator
Returns the “default value” for a type. Read more
Source§impl LocalAllocator for ReusingAllocator
impl LocalAllocator for ReusingAllocator
Source§fn create_local_variable(
&self,
root: Rc<RefCell<Scope>>,
scope: Rc<RefCell<Scope>>,
item: Item,
) -> ExpandElement
fn create_local_variable( &self, root: Rc<RefCell<Scope>>, scope: Rc<RefCell<Scope>>, item: Item, ) -> ExpandElement
Creates a local variable that can be (re)assigned
Auto Trait Implementations§
impl Freeze for ReusingAllocator
impl !RefUnwindSafe for ReusingAllocator
impl !Send for ReusingAllocator
impl !Sync for ReusingAllocator
impl Unpin for ReusingAllocator
impl !UnwindSafe for ReusingAllocator
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