Struct marker_api::ast::item::Body
source · #[repr(C)]pub struct Body<'ast> { /* private fields */ }
Expand description
A body represents the expression of items.
Bodies act like a barrier between the item and expression level. When items
are requested, only the item information is retrieved and converted. Any
expression parts of these items are wrapped into a body, identified via a
BodyId
. The body and its content will only be converted
request.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'ast> RefUnwindSafe for Body<'ast>
impl<'ast> !Send for Body<'ast>
impl<'ast> !Sync for Body<'ast>
impl<'ast> Unpin for Body<'ast>
impl<'ast> UnwindSafe for Body<'ast>
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