pub struct CfgAllocator {
pub refinement_arena: RefinementArena,
/* private fields */
}Fields§
§refinement_arena: RefinementArenaImplementations§
Source§impl CfgAllocator
impl CfgAllocator
Source§impl CfgAllocator
impl CfgAllocator
Source§impl CfgAllocator
impl CfgAllocator
pub fn new_definition(&mut self, sym: Symbol, version: usize) -> DefId
Source§impl CfgAllocator
impl CfgAllocator
Sourcepub fn new_instruction(&mut self, inst: Instruction) -> InstrId
pub fn new_instruction(&mut self, inst: Instruction) -> InstrId
C++ builds Instruction* inst = instructions.allocate(T{args...}) and
returns NotNull{inst}. The variant T{args...} is constructed by the
caller (CFGBuilder::emit) and threaded through as the Instruction.
Trait Implementations§
Source§impl Debug for CfgAllocator
impl Debug for CfgAllocator
Source§impl Default for CfgAllocator
impl Default for CfgAllocator
impl Send for CfgAllocator
impl Sync for CfgAllocator
Auto Trait Implementations§
impl Freeze for CfgAllocator
impl RefUnwindSafe for CfgAllocator
impl Unpin for CfgAllocator
impl UnsafeUnpin for CfgAllocator
impl UnwindSafe for CfgAllocator
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