Enum rustdoc::clean::TyParamBound[src]

pub enum TyParamBound {
    RegionBound,
    TraitBound(Type),
}

Variants

RegionBound
TraitBound

Trait Implementations

impl Show for TyParamBound

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

Derived Implementations

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for TyParamBound

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for TyParamBound

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

impl Clone for TyParamBound

fn clone(&self) -> TyParamBound

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