Enum syntex_syntax::ast::TraitBoundModifier [] [src]

pub enum TraitBoundModifier {
    None,
    Maybe,
}

A modifier on a bound, currently this is only used for ?Sized, where the modifier is Maybe. Negative bounds should also be handled here.

Variants

None
Maybe

Trait Implementations

Derived Implementations

impl Debug for TraitBoundModifier

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for TraitBoundModifier

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for TraitBoundModifier

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TraitBoundModifier, __D::Error>

impl Encodable for TraitBoundModifier

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for TraitBoundModifier

impl PartialEq for TraitBoundModifier

fn eq(&self, __arg_0: &TraitBoundModifier) -> bool

fn ne(&self, __arg_0: &TraitBoundModifier) -> bool

impl Clone for TraitBoundModifier

fn clone(&self) -> TraitBoundModifier

fn clone_from(&mut self, source: &Self)

impl Copy for TraitBoundModifier