[−][src]Struct rustc_mir::borrow_check::borrow_set::BorrowData
Fields
reserve_location: LocationLocation where the borrow reservation starts. In many cases, this will be equal to the activation location but not always.
activation_location: TwoPhaseActivationLocation where the borrow is activated.
kind: BorrowKindWhat kind of borrow this is
region: RegionVidThe region for which this borrow is live
borrowed_place: Place<'tcx>Place from which we are borrowing
assigned_place: Place<'tcx>Place to which the borrow was stored
Trait Implementations
impl<'tcx> Clone for BorrowData<'tcx>[src]
pub fn clone(&self) -> BorrowData<'tcx>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'tcx> Debug for BorrowData<'tcx>[src]
impl<'tcx> Display for BorrowData<'tcx>[src]
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for BorrowData<'tcx>
impl<'tcx> !Send for BorrowData<'tcx>
impl<'tcx> !Sync for BorrowData<'tcx>
impl<'tcx> Unpin for BorrowData<'tcx>
impl<'tcx> !UnwindSafe for BorrowData<'tcx>
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> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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.