pub struct UnscopedVariable {
pub name: Identifier,
pub location: Location,
}Expand description
A reference to a global or local variable
Fields§
§name: Identifier§location: LocationTrait Implementations§
Source§impl Debug for UnscopedVariable
impl Debug for UnscopedVariable
Source§impl Display for UnscopedVariable
impl Display for UnscopedVariable
Source§impl From<UnscopedVariable> for Expression
impl From<UnscopedVariable> for Expression
Source§fn from(variable: UnscopedVariable) -> Expression
fn from(variable: UnscopedVariable) -> Expression
Converts to this type from the input type.
Source§impl From<UnscopedVariable> for Variable
impl From<UnscopedVariable> for Variable
Source§fn from(variable: UnscopedVariable) -> Variable
fn from(variable: UnscopedVariable) -> Variable
Converts to this type from the input type.
Source§impl PartialEq for UnscopedVariable
impl PartialEq for UnscopedVariable
impl Eq for UnscopedVariable
impl StructuralPartialEq for UnscopedVariable
Auto Trait Implementations§
impl Freeze for UnscopedVariable
impl RefUnwindSafe for UnscopedVariable
impl Send for UnscopedVariable
impl Sync for UnscopedVariable
impl Unpin for UnscopedVariable
impl UnwindSafe for UnscopedVariable
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