Struct go_parser::ast::AssignStmt
source · pub struct AssignStmt {
pub lhs: Vec<Expr>,
pub token_pos: Pos,
pub token: Token,
pub rhs: Vec<Expr>,
}
Fields§
§lhs: Vec<Expr>
§token_pos: Pos
§token: Token
§rhs: Vec<Expr>
Implementations§
source§impl AssignStmt
impl AssignStmt
pub fn arena_new( objs: &mut AstObjects, lhs: Vec<Expr>, tpos: Pos, tok: Token, rhs: Vec<Expr> ) -> AssignStmtKey
pub fn pos(&self, objs: &AstObjects) -> Pos
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AssignStmt
impl !Send for AssignStmt
impl !Sync for AssignStmt
impl Unpin for AssignStmt
impl UnwindSafe for AssignStmt
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