[−][src]Struct rhai::NamespaceRef
(INTERNALS) A chain of module names to namespace-qualify a variable or function call.
Exported under the internals
feature only.
A u64
hash key 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.
WARNING
This type is volatile and may change.
Trait Implementations
impl Clone for NamespaceRef
[src]
pub fn clone(&self) -> NamespaceRef
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NamespaceRef
[src]
impl Default for NamespaceRef
[src]
pub fn default() -> NamespaceRef
[src]
impl Deref for NamespaceRef
[src]
type Target = StaticVec<IdentX>
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl DerefMut for NamespaceRef
[src]
impl Display for NamespaceRef
[src]
impl Eq for NamespaceRef
[src]
impl From<SmallVec<[IdentX; 4]>> for NamespaceRef
[src]
impl Hash for NamespaceRef
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<NamespaceRef> for NamespaceRef
[src]
pub fn eq(&self, other: &NamespaceRef) -> bool
[src]
pub fn ne(&self, other: &NamespaceRef) -> bool
[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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow(&self) -> &TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for &'_ mut W
impl<'_, W> Write for &'_ mut W where
W: Write + ?Sized, impl<'_, R> Read for &'_ mut R where
R: Read + ?Sized, impl<'_, F> Future for &'_ mut F where
F: Unpin + Future + ?Sized, type Output = <F as Future>::Output;impl<'_, I> Iterator for &'_ mut I where
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,