[][src]Struct nodespeak::vague::structure::ScopeId

pub struct ScopeId(_);

Refers to a Scope stored in a Program.

You'll notice that this struct requires no lifetime. This was chosen to allow for easy implementation of tree-like and cyclic data vague::structures inside the library.

Trait Implementations

impl Clone for ScopeId[src]

impl Copy for ScopeId[src]

impl Debug for ScopeId[src]

impl Eq for ScopeId[src]

impl Hash for ScopeId[src]

impl Index<ScopeId> for Program[src]

type Output = Scope

The returned type after indexing.

impl IndexMut<ScopeId> for Program[src]

impl PartialEq<ScopeId> for ScopeId[src]

impl StructuralEq for ScopeId[src]

impl StructuralPartialEq for ScopeId[src]

Auto Trait Implementations

impl RefUnwindSafe for ScopeId

impl Send for ScopeId

impl Sync for ScopeId

impl Unpin for ScopeId

impl UnwindSafe for ScopeId

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> From<T> for T[src]

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

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.