Struct go_parser::ast::CaseClause
source · pub struct CaseClause {
pub case: Pos,
pub list: Option<Vec<Expr>>,
pub colon: Pos,
pub body: Vec<Stmt>,
}
Fields§
§case: Pos
§list: Option<Vec<Expr>>
§colon: Pos
§body: Vec<Stmt>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CaseClause
impl !Send for CaseClause
impl !Sync for CaseClause
impl Unpin for CaseClause
impl UnwindSafe for CaseClause
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