Struct rustemo_compiler::grammar::Assignment
source · pub struct Assignment {
pub name: Option<ValLoc<String>>,
pub symbol: SymbolIndex,
pub is_bool: bool,
pub idx: usize,
}
Fields§
§name: Option<ValLoc<String>>
§symbol: SymbolIndex
§is_bool: bool
If this assignment is ?= variant. RHS is true if Some.
idx: usize
position in RHS, zero based.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Assignment
impl Send for Assignment
impl Sync for Assignment
impl Unpin for Assignment
impl UnwindSafe for Assignment
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