pub enum BindingScopeMode {
Lexical,
Dynamic,
Hybrid,
}Expand description
How a language profile scopes its bindings.
Variants§
Lexical
Lexical scope (the default): bindings follow textual nesting.
Dynamic
Dynamic scope: bindings follow the dynamic call extent.
Hybrid
Hybrid scope: both lexical and dynamic bindings coexist.
Trait Implementations§
Source§impl Clone for BindingScopeMode
impl Clone for BindingScopeMode
Source§fn clone(&self) -> BindingScopeMode
fn clone(&self) -> BindingScopeMode
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 BindingScopeMode
Source§impl Debug for BindingScopeMode
impl Debug for BindingScopeMode
impl Eq for BindingScopeMode
Source§impl PartialEq for BindingScopeMode
impl PartialEq for BindingScopeMode
Source§fn eq(&self, other: &BindingScopeMode) -> bool
fn eq(&self, other: &BindingScopeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BindingScopeMode
Auto Trait Implementations§
impl Freeze for BindingScopeMode
impl RefUnwindSafe for BindingScopeMode
impl Send for BindingScopeMode
impl Sync for BindingScopeMode
impl Unpin for BindingScopeMode
impl UnsafeUnpin for BindingScopeMode
impl UnwindSafe for BindingScopeMode
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