pub struct LabeledStmt {
pub label: IdentKey,
pub colon: Pos,
pub stmt: Stmt,
}
Fields§
§label: IdentKey
§colon: Pos
§stmt: Stmt
Implementations§
Source§impl LabeledStmt
impl LabeledStmt
pub fn arena_new( objs: &mut AstObjects, label: IdentKey, colon: Pos, stmt: Stmt, ) -> LabeledStmtKey
pub fn pos(&self, objs: &AstObjects) -> Pos
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LabeledStmt
impl RefUnwindSafe for LabeledStmt
impl !Send for LabeledStmt
impl !Sync for LabeledStmt
impl Unpin for LabeledStmt
impl UnwindSafe for LabeledStmt
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