pub struct Statement<'hir> {
pub kind: StatementKind<'hir>,
pub span: Span,
pub id: HirId,
}Fields§
§kind: StatementKind<'hir>§span: Span§id: HirIdImplementations§
Trait Implementations§
Source§impl<'hir> HirNode<'hir> for Statement<'hir>
impl<'hir> HirNode<'hir> for Statement<'hir>
fn get_hir_id(&self) -> HirId
fn get_hir_node_kind(&'hir self) -> HirNodeKind<'hir>
fn set_hir_id(&mut self, id: HirId)
impl<'hir> Copy for Statement<'hir>
Auto Trait Implementations§
impl<'hir> Freeze for Statement<'hir>
impl<'hir> !RefUnwindSafe for Statement<'hir>
impl<'hir> !Send for Statement<'hir>
impl<'hir> !Sync for Statement<'hir>
impl<'hir> Unpin for Statement<'hir>
impl<'hir> !UnwindSafe for Statement<'hir>
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