pub struct Body {
pub def_id: DefId,
pub is_pub: bool,
pub is_extern: bool,
pub is_exported: bool,
pub name: String,
pub locals: SmallVec<[Local; 4]>,
pub blocks: SmallVec<[BasicBlock; 8]>,
pub fn_span: Span,
}
Fields§
§def_id: DefId
§is_pub: bool
§is_extern: bool
§is_exported: bool
§name: String
§locals: SmallVec<[Local; 4]>
§blocks: SmallVec<[BasicBlock; 8]>
§fn_span: Span
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Body
impl RefUnwindSafe for Body
impl Send for Body
impl Sync for Body
impl Unpin for Body
impl UnwindSafe for Body
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