Enum rustc_typeck::hir::ImplPolarity
[−]
[src]
pub enum ImplPolarity { Positive, Negative, }
🔬 This is a nightly-only experimental API. (
rustc_private
)Variants
Positive
🔬 This is a nightly-only experimental API. (
rustc_private
)impl Trait for Type
Negative
🔬 This is a nightly-only experimental API. (
rustc_private
)impl !Trait for Type
Trait Implementations
impl Decodable for ImplPolarity
[src]
fn decode<__D>(__arg_0: &mut __D) -> Result<ImplPolarity, __D::Error> where __D: Decoder
🔬 This is a nightly-only experimental API. (
rustc_private
)impl PartialEq<ImplPolarity> for ImplPolarity
[src]
fn eq(&self, __arg_0: &ImplPolarity) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Hash for ImplPolarity
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Clone for ImplPolarity
[src]
fn clone(&self) -> ImplPolarity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for ImplPolarity
[src]
impl Debug for ImplPolarity
[src]
impl Encodable for ImplPolarity
[src]
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), __S::Error> where __S: Encoder
🔬 This is a nightly-only experimental API. (
rustc_private
)