pub enum BindingLocatorScope {
GlobalObject,
GlobalDeclarative,
Stack(u32),
}Expand description
The scope in which a binding is located.
Variants§
GlobalObject
The binding is located on the global object.
GlobalDeclarative
The binding is located in the global declarative scope.
Stack(u32)
The binding is located in the scope stack at the given index.
Trait Implementations§
Source§impl Clone for BindingLocatorScope
impl Clone for BindingLocatorScope
Source§fn clone(&self) -> BindingLocatorScope
fn clone(&self) -> BindingLocatorScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BindingLocatorScope
Source§impl Debug for BindingLocatorScope
impl Debug for BindingLocatorScope
impl Eq for BindingLocatorScope
Source§impl PartialEq for BindingLocatorScope
impl PartialEq for BindingLocatorScope
impl StructuralPartialEq for BindingLocatorScope
Auto Trait Implementations§
impl Freeze for BindingLocatorScope
impl RefUnwindSafe for BindingLocatorScope
impl Send for BindingLocatorScope
impl Sync for BindingLocatorScope
impl Unpin for BindingLocatorScope
impl UnsafeUnpin for BindingLocatorScope
impl UnwindSafe for BindingLocatorScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.