Enum rustc::ty::LvaluePreference
[−]
[src]
pub enum LvaluePreference {
PreferMutLvalue,
NoPreference,
}Unstable (
rustc_private)Variants
PreferMutLvalueUnstable (
rustc_private)NoPreferenceUnstable (
rustc_private)Methods
impl LvaluePreference[src]
fn from_mutbl(m: Mutability) -> Self
Trait Implementations
Derived Implementations
impl Eq for LvaluePreference[src]
impl PartialEq for LvaluePreference[src]
fn eq(&self, __arg_0: &LvaluePreference) -> 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 Debug for LvaluePreference[src]
impl Clone for LvaluePreference[src]
fn clone(&self) -> LvaluePreference
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