Enum erg_compiler::ty::Variable
source · pub enum Variable {
Param {
nth: usize,
name: Str,
loc: Location,
},
Var(Str, Location),
Attr {
receiver: Box<Variable>,
attr: Str,
loc: Location,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Locational for Variable
impl Locational for Variable
source§impl PartialEq<Variable> for Variable
impl PartialEq<Variable> for Variable
impl Eq for Variable
impl StructuralEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
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