Enum partiql_logical::VarRefType
source · pub enum VarRefType {
Global,
Local,
}
Expand description
Indicates whether to look in the local/lexical or global environment when resolving a variable.
Variants§
Global
Resolve the variable by looking in the global environment.
Local
Resolve the variable by looking in the local/lexical scope environment.
Trait Implementations§
source§impl Clone for VarRefType
impl Clone for VarRefType
source§fn clone(&self) -> VarRefType
fn clone(&self) -> VarRefType
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 VarRefType
impl Debug for VarRefType
source§impl PartialEq<VarRefType> for VarRefType
impl PartialEq<VarRefType> for VarRefType
source§fn eq(&self, other: &VarRefType) -> bool
fn eq(&self, other: &VarRefType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VarRefType
impl StructuralEq for VarRefType
impl StructuralPartialEq for VarRefType
Auto Trait Implementations§
impl RefUnwindSafe for VarRefType
impl Send for VarRefType
impl Sync for VarRefType
impl Unpin for VarRefType
impl UnwindSafe for VarRefType
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