pub enum ImplPolarity {
Positive,
Negative,
Reservation,
}Variants§
Positive
impl Trait for Type
Negative
impl !Trait for Type
Reservation
#[rustc_reservation_impl] impl Trait for Type
This is a “stability hack”, not a real Rust feature. See #64631 for details.
Implementations§
Trait Implementations§
Source§impl Clone for ImplPolarity
impl Clone for ImplPolarity
Source§fn clone(&self) -> ImplPolarity
fn clone(&self) -> ImplPolarity
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 ImplPolarity
impl Debug for ImplPolarity
Source§impl Display for ImplPolarity
impl Display for ImplPolarity
Source§impl Hash for ImplPolarity
impl Hash for ImplPolarity
Source§impl Ord for ImplPolarity
impl Ord for ImplPolarity
Source§fn cmp(&self, other: &ImplPolarity) -> Ordering
fn cmp(&self, other: &ImplPolarity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ImplPolarity
impl PartialEq for ImplPolarity
Source§impl PartialOrd for ImplPolarity
impl PartialOrd for ImplPolarity
impl Copy for ImplPolarity
impl Eq for ImplPolarity
impl StructuralPartialEq for ImplPolarity
Auto Trait Implementations§
impl Freeze for ImplPolarity
impl RefUnwindSafe for ImplPolarity
impl Send for ImplPolarity
impl Sync for ImplPolarity
impl Unpin for ImplPolarity
impl UnwindSafe for ImplPolarity
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, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.