Struct rustc_borrowck::RootPlace
source · pub(crate) struct RootPlace<'tcx> {
pub(crate) place_local: Local,
pub(crate) place_projection: &'tcx [PlaceElem<'tcx>],
pub(crate) is_local_mutation_allowed: LocalMutationIsAllowed,
}
Fields
place_local: Local
place_projection: &'tcx [PlaceElem<'tcx>]
is_local_mutation_allowed: LocalMutationIsAllowed
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for RootPlace<'tcx>
impl<'tcx> Send for RootPlace<'tcx>
impl<'tcx> Sync for RootPlace<'tcx>
impl<'tcx> Unpin for RootPlace<'tcx>
impl<'tcx> !UnwindSafe for RootPlace<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes