Enum rustc::ty::ExplicitSelfCategory
[−]
[src]
pub enum ExplicitSelfCategory {
Static,
ByValue,
ByReference(Region, Mutability),
ByBox,
}Unstable (
rustc_private)The category of explicit self.
Variants
StaticUnstable (
rustc_private)ByValueUnstable (
rustc_private)ByReference(Region, Mutability)Unstable (
rustc_private)ByBoxUnstable (
rustc_private)Trait Implementations
impl Display for ExplicitSelfCategory[src]
Derived Implementations
impl Debug for ExplicitSelfCategory[src]
impl PartialEq for ExplicitSelfCategory[src]
fn eq(&self, __arg_0: &ExplicitSelfCategory) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ExplicitSelfCategory) -> bool
This method tests for !=.
impl Eq for ExplicitSelfCategory[src]
impl Copy for ExplicitSelfCategory[src]
impl Clone for ExplicitSelfCategory[src]
fn clone(&self) -> ExplicitSelfCategory
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