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 AliasableViolationKindimpl Clone for AliasableViolationKind[src]
impl Clone for AliasableViolationKindfn clone(&self) -> AliasableViolationKind[src]
fn clone(&self) -> AliasableViolationKindReturns 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 AliasableViolationKindfn 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 AliasableViolationKind[src]
impl PartialEq for AliasableViolationKindfn eq(&self, other: &AliasableViolationKind) -> bool[src]
fn eq(&self, other: &AliasableViolationKind) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl !Send for AliasableViolationKind
impl !Send for AliasableViolationKindimpl !Sync for AliasableViolationKind
impl !Sync for AliasableViolationKind