pub struct CompiledFunctionsTableBuilder { /* private fields */ }Expand description
A builder for a CompiledFunctionsTable.
Implementations§
Source§impl CompiledFunctionsTableBuilder
impl CompiledFunctionsTableBuilder
Sourcepub fn push_func(
&mut self,
key: FuncKey,
func_loc: FunctionLoc,
src_loc: FilePos,
) -> &mut Self
pub fn push_func( &mut self, key: FuncKey, func_loc: FunctionLoc, src_loc: FilePos, ) -> &mut Self
Push a new entry into this builder.
Panics if the key or function location is out of order.
Sourcepub fn finish(self) -> CompiledFunctionsTable
pub fn finish(self) -> CompiledFunctionsTable
Finish construction of the CompiledFunctionsTable.
Auto Trait Implementations§
impl Freeze for CompiledFunctionsTableBuilder
impl RefUnwindSafe for CompiledFunctionsTableBuilder
impl Send for CompiledFunctionsTableBuilder
impl Sync for CompiledFunctionsTableBuilder
impl Unpin for CompiledFunctionsTableBuilder
impl UnwindSafe for CompiledFunctionsTableBuilder
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