Struct go_vm::parser::ast::LabeledStmt
source · pub struct LabeledStmt {
pub label: IdentKey,
pub colon: usize,
pub stmt: Stmt,
}
Fields§
§label: IdentKey
§colon: usize
§stmt: Stmt
Implementations§
source§impl LabeledStmt
impl LabeledStmt
pub fn arena_new( objs: &mut AstObjects, label: IdentKey, colon: usize, stmt: Stmt ) -> LabeledStmtKey
pub fn pos(&self, objs: &AstObjects) -> usize
Trait Implementations§
Auto Trait Implementations§
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