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 Needs
fn 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 Needs
impl Clone for Needs
[src]
impl Clone for Needs
fn clone(&self) -> Needs
[src]
fn clone(&self) -> Needs
Returns 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 Needs
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Needs
[src]
impl PartialEq for Needs
fn eq(&self, other: &Needs) -> bool
[src]
fn eq(&self, other: &Needs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Needs
[src]
impl Eq for Needs
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)