pub struct ResolutionOrigin { /* private fields */ }Expand description
Direct-fact identity plus the inheritance path used to derive an effective entry.
Implementations§
Source§impl ResolutionOrigin
impl ResolutionOrigin
Sourcepub const fn declared(&self) -> &SchemaFactId
pub const fn declared(&self) -> &SchemaFactId
Return the direct fact from which this entry was derived.
Sourcepub fn inheritance_path(&self) -> &[TypeId]
pub fn inheritance_path(&self) -> &[TypeId]
Return the ordered inheritance path; empty means direct.
Trait Implementations§
Source§impl Clone for ResolutionOrigin
impl Clone for ResolutionOrigin
Source§fn clone(&self) -> ResolutionOrigin
fn clone(&self) -> ResolutionOrigin
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 ResolutionOrigin
impl Debug for ResolutionOrigin
impl Eq for ResolutionOrigin
Source§impl PartialEq for ResolutionOrigin
impl PartialEq for ResolutionOrigin
impl StructuralPartialEq for ResolutionOrigin
Auto Trait Implementations§
impl Freeze for ResolutionOrigin
impl RefUnwindSafe for ResolutionOrigin
impl Send for ResolutionOrigin
impl Sync for ResolutionOrigin
impl Unpin for ResolutionOrigin
impl UnsafeUnpin for ResolutionOrigin
impl UnwindSafe for ResolutionOrigin
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