Enum rustc_hir_pretty::AnnNode
source · [−]pub enum AnnNode<'a> {
Name(&'a Symbol),
Block(&'a Block<'a>),
Item(&'a Item<'a>),
SubItem(HirId),
Expr(&'a Expr<'a>),
Pat(&'a Pat<'a>),
Arm(&'a Arm<'a>),
}
Variants
Name(&'a Symbol)
Block(&'a Block<'a>)
Item(&'a Item<'a>)
SubItem(HirId)
Expr(&'a Expr<'a>)
Pat(&'a Pat<'a>)
Arm(&'a Arm<'a>)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AnnNode<'a>
impl<'a> !Send for AnnNode<'a>
impl<'a> !Sync for AnnNode<'a>
impl<'a> Unpin for AnnNode<'a>
impl<'a> !UnwindSafe for AnnNode<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Name
: 12 bytesBlock
: 12 bytesItem
: 12 bytesSubItem
: 8 bytesExpr
: 12 bytesPat
: 12 bytesArm
: 12 bytes