Enum rustc::middle::expr_use_visitor::LoanCause
[−]
[src]
pub enum LoanCause { ClosureCapture(Span), AddrOf, AutoRef, AutoUnsafe, RefBinding, OverloadedOperator, ClosureInvocation, ForLoop, MatchDiscriminant, }
🔬 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
ClosureCapture(Span)
🔬 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?
AddrOf
🔬 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?
AutoRef
🔬 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?
AutoUnsafe
🔬 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?
RefBinding
🔬 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?
OverloadedOperator
🔬 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?
ClosureInvocation
🔬 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?
ForLoop
🔬 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?
MatchDiscriminant
🔬 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 LoanCause
[src]
impl Copy for LoanCause
impl Clone for LoanCause
[src]
impl Clone for LoanCause
fn clone(&self) -> LoanCause
[src]
fn clone(&self) -> LoanCause
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 PartialEq for LoanCause
[src]
impl PartialEq for LoanCause
fn eq(&self, __arg_0: &LoanCause) -> bool
[src]
fn eq(&self, __arg_0: &LoanCause) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LoanCause) -> bool
[src]
fn ne(&self, __arg_0: &LoanCause) -> bool
This method tests for !=
.
impl Debug for LoanCause
[src]
impl Debug for LoanCause