Enum syntax::ast::ImplPolarity [−][src]
pub enum ImplPolarity { Positive, Negative, }
Variants
Positive
impl Trait for Type
Negative
impl !Trait for Type
Trait Implementations
impl Copy for ImplPolarity
[src]
impl Copy for ImplPolarity
impl Clone for ImplPolarity
[src]
impl Clone for ImplPolarity
fn clone(&self) -> ImplPolarity
[src]
fn clone(&self) -> ImplPolarity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ImplPolarity
[src]
impl PartialEq for ImplPolarity
fn eq(&self, other: &ImplPolarity) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ImplPolarity
[src]
impl Eq for ImplPolarity
impl Encodable for ImplPolarity
[src]
impl Encodable for ImplPolarity
impl Decodable for ImplPolarity
[src]
impl Decodable for ImplPolarity
impl Hash for ImplPolarity
[src]
impl Hash for ImplPolarity
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for ImplPolarity
[src]
impl Debug for ImplPolarity
Auto Trait Implementations
impl Send for ImplPolarity
impl Send for ImplPolarity
impl Sync for ImplPolarity
impl Sync for ImplPolarity