Enum netsblox_ast::VarLocation
source · pub enum VarLocation {
Global,
Field,
Local,
}Variants§
Trait Implementations§
source§impl Clone for VarLocation
impl Clone for VarLocation
source§fn clone(&self) -> VarLocation
fn clone(&self) -> VarLocation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for VarLocation
impl Debug for VarLocation
source§impl PartialEq for VarLocation
impl PartialEq for VarLocation
source§fn eq(&self, other: &VarLocation) -> bool
fn eq(&self, other: &VarLocation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for VarLocation
impl Eq for VarLocation
impl StructuralEq for VarLocation
impl StructuralPartialEq for VarLocation
Auto Trait Implementations§
impl RefUnwindSafe for VarLocation
impl Send for VarLocation
impl Sync for VarLocation
impl Unpin for VarLocation
impl UnwindSafe for VarLocation
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