Enum rustc_typeck::check::Needs [−][src]
pub enum Needs {
MutPlace,
None,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
MutPlace🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
None🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl Needs[src]
impl Needsfn maybe_mut_place(m: Mutability) -> Self[src]
fn maybe_mut_place(m: Mutability) -> Self🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl Copy for Needs[src]
impl Copy for Needsimpl Clone for Needs[src]
impl Clone for Needsfn clone(&self) -> Needs[src]
fn clone(&self) -> NeedsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for Needs[src]
impl Debug for Needsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Needs[src]
impl PartialEq for Needsfn eq(&self, other: &Needs) -> bool[src]
fn eq(&self, other: &Needs) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Eq for Needs[src]
impl Eq for Needsfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)