pub struct Function<I>where
I: Instr,{
pub name: String,
pub linkage: Linkage,
pub arg_count: usize,
pub pre_labels: Vec<I>,
pub pre_return: Vec<I>,
pub labels: Vec<LabelledInstructions<I>>,
}
Fields§
§name: String
§linkage: Linkage
§arg_count: usize
§pre_labels: Vec<I>
§pre_return: Vec<I>
§labels: Vec<LabelledInstructions<I>>
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for Function<I>
impl<I> RefUnwindSafe for Function<I>where
I: RefUnwindSafe,
impl<I> Send for Function<I>where
I: Send,
impl<I> Sync for Function<I>where
I: Sync,
impl<I> Unpin for Function<I>where
I: Unpin,
impl<I> UnwindSafe for Function<I>where
I: UnwindSafe,
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