[][src]Enum rustpython_vm::bytecode::NameScope

pub enum NameScope {
    Local,
    NonLocal,
    Global,
    Free,
}

An indication where the name must be accessed.

Variants

Local

The name will be in the local scope.

NonLocal

The name will be located in scope surrounding the current scope.

Global

The name will be in global scope.

Free

The name will be located in any scope between the current scope and the top scope.

Trait Implementations

impl Clone for NameScope[src]

impl Debug for NameScope[src]

impl<'de> Deserialize<'de> for NameScope[src]

impl PartialEq<NameScope> for NameScope[src]

impl Serialize for NameScope[src]

impl StructuralPartialEq for NameScope[src]

Auto Trait Implementations

impl RefUnwindSafe for NameScope

impl Send for NameScope

impl Sync for NameScope

impl Unpin for NameScope

impl UnwindSafe for NameScope

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,