pub enum CppArgumentApplicability {
Applicable,
Inapplicable,
Unknown,
}Expand description
The portion of C++ argument applicability that the declaration metadata can prove without running overload resolution or a conversion engine.
Unknown is intentional for user-defined conversions, standard
conversions, templates, and incomplete argument/signature facts. The
existing candidate filter remains conservative in all of those cases; this
value only gives the trace a typed explanation for the evidence it has.
Variants§
Trait Implementations§
Source§impl Clone for CppArgumentApplicability
impl Clone for CppArgumentApplicability
impl Copy for CppArgumentApplicability
Source§impl Debug for CppArgumentApplicability
impl Debug for CppArgumentApplicability
impl Eq for CppArgumentApplicability
Source§impl PartialEq for CppArgumentApplicability
impl PartialEq for CppArgumentApplicability
impl StructuralPartialEq for CppArgumentApplicability
Auto Trait Implementations§
impl Forget for CppArgumentApplicability
impl Freeze for CppArgumentApplicability
impl Move for CppArgumentApplicability
impl RefUnwindSafe for CppArgumentApplicability
impl Send for CppArgumentApplicability
impl Sync for CppArgumentApplicability
impl Unpin for CppArgumentApplicability
impl UnsafeUnpin for CppArgumentApplicability
impl UnwindSafe for CppArgumentApplicability
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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