pub struct IrFunction {Show 13 fields
pub name: String,
pub cfg: ControlFlowGraph,
pub variables: HashMap<String, VariableInfo>,
pub return_type: String,
pub source_file: String,
pub is_method: bool,
pub method_qualifier: Option<MethodQualifier>,
pub class_name: Option<String>,
pub template_parameters: Vec<String>,
pub lifetime_params: HashMap<String, LifetimeParam>,
pub param_lifetimes: Vec<Option<ParameterLifetime>>,
pub return_lifetime: Option<ReturnLifetime>,
pub lifetime_constraints: Vec<LifetimeConstraint>,
}Fields§
§name: String§cfg: ControlFlowGraph§variables: HashMap<String, VariableInfo>§return_type: String§source_file: String§is_method: bool§method_qualifier: Option<MethodQualifier>§class_name: Option<String>§template_parameters: Vec<String>§lifetime_params: HashMap<String, LifetimeParam>§param_lifetimes: Vec<Option<ParameterLifetime>>§return_lifetime: Option<ReturnLifetime>§lifetime_constraints: Vec<LifetimeConstraint>Trait Implementations§
Source§impl Clone for IrFunction
impl Clone for IrFunction
Source§fn clone(&self) -> IrFunction
fn clone(&self) -> IrFunction
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 IrFunction
impl RefUnwindSafe for IrFunction
impl Send for IrFunction
impl Sync for IrFunction
impl Unpin for IrFunction
impl UnwindSafe for IrFunction
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