pub enum LinkedRelationBasis {
DirectTypeSyntax,
AttestedTypeSyntax,
DeclaredReferenceType,
ViaDeclaration,
}Expand description
Why one exact relation was inferred.
Variants§
DirectTypeSyntax
The target was visible directly in the scanned type syntax.
AttestedTypeSyntax
The target came from a canonical statum::Attested<_, Route> wrapper
visible directly in the scanned type syntax.
DeclaredReferenceType
The scanned type resolved through one declared reference type.
ViaDeclaration
The target was declared explicitly through #[via(...)].
Trait Implementations§
Source§impl Clone for LinkedRelationBasis
impl Clone for LinkedRelationBasis
Source§fn clone(&self) -> LinkedRelationBasis
fn clone(&self) -> LinkedRelationBasis
Returns a duplicate of the value. Read more
1.0.0 · 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 LinkedRelationBasis
impl Debug for LinkedRelationBasis
Source§impl PartialEq for LinkedRelationBasis
impl PartialEq for LinkedRelationBasis
impl Copy for LinkedRelationBasis
impl Eq for LinkedRelationBasis
impl StructuralPartialEq for LinkedRelationBasis
Auto Trait Implementations§
impl Freeze for LinkedRelationBasis
impl RefUnwindSafe for LinkedRelationBasis
impl Send for LinkedRelationBasis
impl Sync for LinkedRelationBasis
impl Unpin for LinkedRelationBasis
impl UnsafeUnpin for LinkedRelationBasis
impl UnwindSafe for LinkedRelationBasis
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