Enum rustdoc::clean::TyParamBoundUnstable [-] [+] [src]

pub enum TyParamBound {
    RegionBound(Lifetime),
    TraitBound(PolyTrait, TraitBoundModifier),
}

Variants

RegionBound
TraitBound

Trait Implementations

impl Display for TyParamBound

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

Derived Implementations

impl Debug for TyParamBound

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

impl PartialEq for TyParamBound

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

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

impl Decodable for TyParamBound

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

impl Encodable for TyParamBound

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

impl Clone for TyParamBound

fn clone(&self) -> TyParamBound

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