pub enum TypeSystemRef {
Type(ResolvedName<StructType>),
Dimension(ResolvedName<Dim>),
Index(ResolvedName<Index>),
IndexVariant(ResolvedIndexVariant),
}Expand description
Type-system identifier used as a value expression, usually in include bindings.
Variants§
Type(ResolvedName<StructType>)
Dimension(ResolvedName<Dim>)
Index(ResolvedName<Index>)
IndexVariant(ResolvedIndexVariant)
Implementations§
Source§impl TypeSystemRef
impl TypeSystemRef
pub fn surface_description(&self) -> String
pub fn value_position_error(&self) -> String
Trait Implementations§
Source§impl Clone for TypeSystemRef
impl Clone for TypeSystemRef
Source§fn clone(&self) -> TypeSystemRef
fn clone(&self) -> TypeSystemRef
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 moreSource§impl Debug for TypeSystemRef
impl Debug for TypeSystemRef
impl Eq for TypeSystemRef
Source§impl PartialEq for TypeSystemRef
impl PartialEq for TypeSystemRef
Source§fn eq(&self, other: &TypeSystemRef) -> bool
fn eq(&self, other: &TypeSystemRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeSystemRef
Auto Trait Implementations§
impl Freeze for TypeSystemRef
impl RefUnwindSafe for TypeSystemRef
impl Send for TypeSystemRef
impl Sync for TypeSystemRef
impl Unpin for TypeSystemRef
impl UnsafeUnpin for TypeSystemRef
impl UnwindSafe for TypeSystemRef
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.