pub struct ModuleConstructorDef {
pub owning_type: ResolvedName<StructType>,
pub type_def: TypeDef,
pub variant: UnionMemberDef,
}Expand description
Canonical type-system definitions keyed by ResolvedName identities.
The standalone Registry remains leaf-keyed for now because runtime values and
declaration types still use local names. This registry is the module-aware
lookup side table used by TIR resolution: qualified source paths are first
resolved through ModuleResolver to canonical owners, then looked up here
instead of by source alias text or a dotted string.
Fields§
§owning_type: ResolvedName<StructType>§type_def: TypeDef§variant: UnionMemberDefTrait Implementations§
Source§impl Clone for ModuleConstructorDef
impl Clone for ModuleConstructorDef
Source§fn clone(&self) -> ModuleConstructorDef
fn clone(&self) -> ModuleConstructorDef
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 moreAuto Trait Implementations§
impl Freeze for ModuleConstructorDef
impl RefUnwindSafe for ModuleConstructorDef
impl Send for ModuleConstructorDef
impl Sync for ModuleConstructorDef
impl Unpin for ModuleConstructorDef
impl UnsafeUnpin for ModuleConstructorDef
impl UnwindSafe for ModuleConstructorDef
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