pub enum MemberSeedResolution {
Resolved(String),
Ambiguous(Vec<MemberCandidate>),
NotFound,
}Expand description
Whether resolving seed as a member’s declaring type, ignoring inbound
references entirely (unlike refs.rs’s own edge-verified fallback).
impact/tests answer AS the member’s unique declaring type, so all they
need is that the member exists at all, never that something already
references it.
Variants§
Resolved(String)
Exactly one type declares the member; its def id.
Ambiguous(Vec<MemberCandidate>)
More than one type declares the member.
NotFound
No type in the graph declares a member by this name (and qualifier, when the seed carried one).
Trait Implementations§
Source§impl Clone for MemberSeedResolution
impl Clone for MemberSeedResolution
Source§impl Debug for MemberSeedResolution
impl Debug for MemberSeedResolution
Source§impl PartialEq for MemberSeedResolution
impl PartialEq for MemberSeedResolution
impl StructuralPartialEq for MemberSeedResolution
Auto Trait Implementations§
impl Freeze for MemberSeedResolution
impl RefUnwindSafe for MemberSeedResolution
impl Send for MemberSeedResolution
impl Sync for MemberSeedResolution
impl Unpin for MemberSeedResolution
impl UnsafeUnpin for MemberSeedResolution
impl UnwindSafe for MemberSeedResolution
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more