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
impl Clone for NamespaceRef
[src]
impl Clone for NamespaceRef
[src]fn clone(&self) -> NamespaceRef
[src]
fn clone(&self) -> NamespaceRef
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for NamespaceRef
[src]
impl Debug for NamespaceRef
[src]impl Default for NamespaceRef
[src]
impl Default for NamespaceRef
[src]fn default() -> NamespaceRef
[src]
fn default() -> NamespaceRef
[src]Returns the “default value” for a type. Read more
impl Deref for NamespaceRef
[src]
impl Deref for NamespaceRef
[src]impl DerefMut for NamespaceRef
[src]
impl DerefMut for NamespaceRef
[src]impl Display for NamespaceRef
[src]
impl Display for NamespaceRef
[src]impl Hash for NamespaceRef
[src]
impl Hash for NamespaceRef
[src]impl PartialEq<NamespaceRef> for NamespaceRef
[src]
impl PartialEq<NamespaceRef> for NamespaceRef
[src]fn eq(&self, other: &NamespaceRef) -> bool
[src]
fn eq(&self, other: &NamespaceRef) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &NamespaceRef) -> bool
[src]
fn ne(&self, other: &NamespaceRef) -> bool
[src]This method tests for !=
.
impl Eq for NamespaceRef
[src]
impl StructuralEq for NamespaceRef
[src]
impl StructuralPartialEq for NamespaceRef
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash + ?Sized,
[src]
impl<T> CallHasher for T where
T: Hash + ?Sized,
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more