Struct rhai::NamespaceRef[][src]

pub struct NamespaceRef { /* fields omitted */ }

(INTERNALS) A chain of module names to namespace-qualify a variable or function call. Exported under the internals feature only.

A u64 offset to the current Scope is cached for quick search purposes.

A StaticVec is used because most namespace-qualified access contains only one level, and it is wasteful to always allocate a Vec with one element.

Volatile Data Structure

This type is volatile and may change.

Trait Implementations

impl Clone for NamespaceRef[src]

impl Debug for NamespaceRef[src]

impl Default for NamespaceRef[src]

impl Deref for NamespaceRef[src]

type Target = StaticVec<Ident>

The resulting type after dereferencing.

impl DerefMut for NamespaceRef[src]

impl Display for NamespaceRef[src]

impl Eq for NamespaceRef[src]

impl From<SmallVec<[Ident; 4]>> for NamespaceRef[src]

impl Hash for NamespaceRef[src]

impl PartialEq<NamespaceRef> for NamespaceRef[src]

impl StructuralEq for NamespaceRef[src]

impl StructuralPartialEq for NamespaceRef[src]

Auto Trait Implementations

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> CallHasher for T where
    T: Hash + ?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> ToString for T where
    T: Display + ?Sized
[src]

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.