pub struct ResolvedStructFieldTypeKey {
pub owning_type: ResolvedName<StructType>,
pub constructor: ConstructorName,
pub field: FieldName,
}Expand description
Canonical field type identity inside a resolved struct/tagged-union type.
Fields§
§owning_type: ResolvedName<StructType>Canonical owner/name of the type that owns the constructor.
constructor: ConstructorNameConstructor/union-member leaf inside the owning type.
field: FieldNameField leaf inside the constructor payload.
Trait Implementations§
Source§impl Clone for ResolvedStructFieldTypeKey
impl Clone for ResolvedStructFieldTypeKey
Source§fn clone(&self) -> ResolvedStructFieldTypeKey
fn clone(&self) -> ResolvedStructFieldTypeKey
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 ResolvedStructFieldTypeKey
impl Debug for ResolvedStructFieldTypeKey
impl Eq for ResolvedStructFieldTypeKey
Source§impl Hash for ResolvedStructFieldTypeKey
impl Hash for ResolvedStructFieldTypeKey
Source§impl PartialEq for ResolvedStructFieldTypeKey
impl PartialEq for ResolvedStructFieldTypeKey
Source§fn eq(&self, other: &ResolvedStructFieldTypeKey) -> bool
fn eq(&self, other: &ResolvedStructFieldTypeKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedStructFieldTypeKey
Auto Trait Implementations§
impl Freeze for ResolvedStructFieldTypeKey
impl RefUnwindSafe for ResolvedStructFieldTypeKey
impl Send for ResolvedStructFieldTypeKey
impl Sync for ResolvedStructFieldTypeKey
impl Unpin for ResolvedStructFieldTypeKey
impl UnsafeUnpin for ResolvedStructFieldTypeKey
impl UnwindSafe for ResolvedStructFieldTypeKey
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.