pub struct BirFunction {
pub name: String,
pub params: Vec<String>,
pub instructions: Vec<String>,
}Expand description
A parsed BIR function.
Fields§
§name: StringFully qualified name (e.g. fn::main).
params: Vec<String>Parameter names.
instructions: Vec<String>Raw instruction lines.
Trait Implementations§
Source§impl Clone for BirFunction
impl Clone for BirFunction
Source§fn clone(&self) -> BirFunction
fn clone(&self) -> BirFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BirFunction
impl RefUnwindSafe for BirFunction
impl Send for BirFunction
impl Sync for BirFunction
impl Unpin for BirFunction
impl UnsafeUnpin for BirFunction
impl UnwindSafe for BirFunction
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