pub enum QualifierOwnerSelection {
Unchanged,
Selected(Vec<String>),
Ambiguous,
}Expand description
How a qualified type’s qualifier selects the owner of the member it names.
Variants§
Unchanged
No qualifier applies template arguments or names an alias, or the arguments select the primary template, which the ordinary component lookup already names.
Selected(Vec<String>)
The qualifier selects an owner the plain spelling does not reach: a specialization its arguments name, or the class an alias qualifier denotes. Look the rest of the path up through the owner’s own scope components.
Ambiguous
The arguments cannot be bound, more than one specialization applies, or the alias arms the reference admits disagree. The reference stays unproven rather than falling back to the primary template’s member.
Auto Trait Implementations§
impl Freeze for QualifierOwnerSelection
impl RefUnwindSafe for QualifierOwnerSelection
impl Send for QualifierOwnerSelection
impl Sync for QualifierOwnerSelection
impl Unpin for QualifierOwnerSelection
impl UnsafeUnpin for QualifierOwnerSelection
impl UnwindSafe for QualifierOwnerSelection
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> 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