Enum rustc::ty::BuiltinBound
[−]
[src]
pub enum BuiltinBound {
Send,
Sized,
Copy,
Sync,
}Unstable (
rustc_private)Variants
SendUnstable (
rustc_private)SizedUnstable (
rustc_private)CopyUnstable (
rustc_private)SyncUnstable (
rustc_private)Trait Implementations
impl CLike for BuiltinBound[src]
fn to_usize(&self) -> usize
Converts a C-like enum to a usize.
fn from_usize(v: usize) -> BuiltinBound
Converts a usize to a C-like enum.
Derived Implementations
impl Copy for BuiltinBound[src]
impl Debug for BuiltinBound[src]
impl Hash for BuiltinBound[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Decodable for BuiltinBound[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<BuiltinBound, __D::Error>
impl Eq for BuiltinBound[src]
impl PartialEq for BuiltinBound[src]
fn eq(&self, __arg_0: &BuiltinBound) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Encodable for BuiltinBound[src]
impl Clone for BuiltinBound[src]
fn clone(&self) -> BuiltinBound
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more