[−][src]Enum rustc_mir::borrow_check::places_conflict::PlaceConflictBias
When checking if a place conflicts with another place, this enum is used to influence decisions
where a place might be equal or disjoint with another place, such as if a[i] == a[j].
PlaceConflictBias::Overlap would bias toward assuming that i might equal j and that these
places overlap. PlaceConflictBias::NoOverlap assumes that for the purposes of the predicate
being run in the calling context, the conservative choice is to assume the compared indices
are disjoint (and therefore, do not overlap).
Variants
Trait Implementations
impl Clone for PlaceConflictBias[src]
pub fn clone(&self) -> PlaceConflictBias[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PlaceConflictBias[src]
impl Debug for PlaceConflictBias[src]
impl Eq for PlaceConflictBias[src]
impl PartialEq<PlaceConflictBias> for PlaceConflictBias[src]
pub fn eq(&self, other: &PlaceConflictBias) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for PlaceConflictBias[src]
impl StructuralPartialEq for PlaceConflictBias[src]
Auto Trait Implementations
impl RefUnwindSafe for PlaceConflictBias
impl Send for PlaceConflictBias
impl Sync for PlaceConflictBias
impl Unpin for PlaceConflictBias
impl UnwindSafe for PlaceConflictBias
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.