Enum rustc_typeck::middle::ty::BuiltinBoundUnstable [-] [+] [src]

pub enum BuiltinBound {
    BoundSend,
    BoundSized,
    BoundCopy,
    BoundSync,
}

Variants

BoundSend
BoundSized
BoundCopy
BoundSync

Trait Implementations

impl CLike for BuiltinBound

fn to_usize(&self) -> usize

fn from_usize(v: usize) -> BuiltinBound

impl<'tcx> Repr<'tcx> for BuiltinBound

fn repr(&self, _tcx: &ctxt) -> String

impl<'tcx> UserString<'tcx> for BuiltinBound

fn user_string(&self, _tcx: &ctxt) -> String

Derived Implementations

impl Copy for BuiltinBound

impl Debug for BuiltinBound

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

impl Hash for BuiltinBound

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

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

impl Decodable for BuiltinBound

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

impl Eq for BuiltinBound

impl PartialEq<BuiltinBound> for BuiltinBound

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

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

impl Encodable for BuiltinBound

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

impl Clone for BuiltinBound

fn clone(&self) -> BuiltinBound

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