pub struct EffectiveSub { /* private fields */ }Expand description
One direct subtype edge, including its exact declaration origin and annotations.
Implementations§
Source§impl EffectiveSub
impl EffectiveSub
Sourcepub const fn origin(&self) -> &ResolutionOrigin
pub const fn origin(&self) -> &ResolutionOrigin
Return the direct declaration origin.
Sourcepub const fn annotations(
&self,
) -> &BTreeMap<AnnotationKindId, SchemaAnnotationValue>
pub const fn annotations( &self, ) -> &BTreeMap<AnnotationKindId, SchemaAnnotationValue>
Return annotations attached to this exact subtype edge.
Trait Implementations§
Source§impl Clone for EffectiveSub
impl Clone for EffectiveSub
Source§fn clone(&self) -> EffectiveSub
fn clone(&self) -> EffectiveSub
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 EffectiveSub
impl Debug for EffectiveSub
impl Eq for EffectiveSub
Source§impl PartialEq for EffectiveSub
impl PartialEq for EffectiveSub
impl StructuralPartialEq for EffectiveSub
Auto Trait Implementations§
impl Freeze for EffectiveSub
impl RefUnwindSafe for EffectiveSub
impl Send for EffectiveSub
impl Sync for EffectiveSub
impl Unpin for EffectiveSub
impl UnsafeUnpin for EffectiveSub
impl UnwindSafe for EffectiveSub
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