#[non_exhaustive]pub enum DefinedNameDynamicKind {
Offset,
Indirect,
Spill,
Mixed,
}Expand description
Dynamic reference construct that determines a name’s reference shape at calculation time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Offset
The terminal reference expression is OFFSET.
Indirect
The terminal reference expression is INDIRECT.
Spill
The terminal reference expression is a spill reference.
Mixed
Multiple dynamic reference constructs contribute to the result.
Implementations§
Trait Implementations§
Source§impl Clone for DefinedNameDynamicKind
impl Clone for DefinedNameDynamicKind
Source§fn clone(&self) -> DefinedNameDynamicKind
fn clone(&self) -> DefinedNameDynamicKind
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 DefinedNameDynamicKind
Source§impl Debug for DefinedNameDynamicKind
impl Debug for DefinedNameDynamicKind
impl Eq for DefinedNameDynamicKind
Source§impl Hash for DefinedNameDynamicKind
impl Hash for DefinedNameDynamicKind
Source§impl PartialEq for DefinedNameDynamicKind
impl PartialEq for DefinedNameDynamicKind
impl StructuralPartialEq for DefinedNameDynamicKind
Auto Trait Implementations§
impl Freeze for DefinedNameDynamicKind
impl RefUnwindSafe for DefinedNameDynamicKind
impl Send for DefinedNameDynamicKind
impl Sync for DefinedNameDynamicKind
impl Unpin for DefinedNameDynamicKind
impl UnsafeUnpin for DefinedNameDynamicKind
impl UnwindSafe for DefinedNameDynamicKind
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.