Enum rustc_borrowck::borrowck::AliasableViolationKind [−][src]
pub enum AliasableViolationKind { MutabilityViolation, BorrowViolation(LoanCause), }
🔬 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
MutabilityViolation
🔬 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?
BorrowViolation(LoanCause)
🔬 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 AliasableViolationKind
[src]
impl Copy for AliasableViolationKind
impl Clone for AliasableViolationKind
[src]
impl Clone for AliasableViolationKind
fn clone(&self) -> AliasableViolationKind
[src]
fn clone(&self) -> AliasableViolationKind
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AliasableViolationKind
[src]
impl Debug for AliasableViolationKind
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 AliasableViolationKind
[src]
impl PartialEq for AliasableViolationKind
fn eq(&self, other: &AliasableViolationKind) -> bool
[src]
fn eq(&self, other: &AliasableViolationKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AliasableViolationKind) -> bool
[src]
fn ne(&self, other: &AliasableViolationKind) -> bool
This method tests for !=
.
Auto Trait Implementations
impl !Send for AliasableViolationKind
impl !Send for AliasableViolationKind
impl !Sync for AliasableViolationKind
impl !Sync for AliasableViolationKind