Struct rhai::NamespaceRef [−][src]
pub struct NamespaceRef { /* fields omitted */ }
Expand description
(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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NamespaceRef
impl Send for NamespaceRef
impl Sync for NamespaceRef
impl Unpin for NamespaceRef
impl UnwindSafe for NamespaceRef
Blanket Implementations
Mutably borrows from an owned value. Read more