pub enum ImportItemNamespace {
Default,
Type,
}Expand description
Namespace targeted by a single selective import item.
Variants§
Default
Default compile-time namespace: consts, dimensions, units, indexes, DAGs, assertions, and other non-type importable items.
Type
Type namespace, written with the type marker.
Trait Implementations§
Source§impl Clone for ImportItemNamespace
impl Clone for ImportItemNamespace
Source§fn clone(&self) -> ImportItemNamespace
fn clone(&self) -> ImportItemNamespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImportItemNamespace
Source§impl Debug for ImportItemNamespace
impl Debug for ImportItemNamespace
impl Eq for ImportItemNamespace
Source§impl FormatEquivalent for ImportItemNamespace
impl FormatEquivalent for ImportItemNamespace
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Source§impl PartialEq for ImportItemNamespace
impl PartialEq for ImportItemNamespace
Source§fn eq(&self, other: &ImportItemNamespace) -> bool
fn eq(&self, other: &ImportItemNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImportItemNamespace
Auto Trait Implementations§
impl Freeze for ImportItemNamespace
impl RefUnwindSafe for ImportItemNamespace
impl Send for ImportItemNamespace
impl Sync for ImportItemNamespace
impl Unpin for ImportItemNamespace
impl UnsafeUnpin for ImportItemNamespace
impl UnwindSafe for ImportItemNamespace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.