Struct debris_mir::mir_primitives::MirFunction
source · pub struct MirFunction {
pub signature_span: Span,
pub context_id: MirContextId,
pub is_comptime: bool,
pub name: Ident,
pub parameters: Vec<MirFunctionParameter>,
pub return_type: Option<MirObjectId>,
pub return_type_span: Span,
pub return_span: Span,
}
Fields§
§signature_span: Span
§context_id: MirContextId
§is_comptime: bool
§name: Ident
§parameters: Vec<MirFunctionParameter>
§return_type: Option<MirObjectId>
§return_type_span: Span
The span of the return type definition
return_span: Span
The span of the expression that defined the return type
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MirFunction
impl Send for MirFunction
impl Sync for MirFunction
impl Unpin for MirFunction
impl UnwindSafe for MirFunction
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