pub struct BoxPointsToRef<'a, T>(pub &'a BoxPointsTo<T>);Expand description
A permission that is equivalent to &BoxPointsTo<T>.
Tuple Fields§
§0: &'a BoxPointsTo<T>Implementations§
Source§impl<'a, T> BoxPointsToRef<'a, T>
impl<'a, T> BoxPointsToRef<'a, T>
Sourcepub proof fn tracked_borrow_points_to(tracked &self) -> tracked ret : &'a PointsTo<T>
pub proof fn tracked_borrow_points_to(tracked &self) -> tracked ret : &'a PointsTo<T>
returns
self@.perm.points_to,Trait Implementations§
Source§impl<'a, T> Inv for BoxPointsToRef<'a, T>
impl<'a, T> Inv for BoxPointsToRef<'a, T>
Source§impl<'a, T> View for BoxPointsToRef<'a, T>
impl<'a, T> View for BoxPointsToRef<'a, T>
Source§open spec fn view(&self) -> BoxPointsTo<T>
open spec fn view(&self) -> BoxPointsTo<T>
{ *self.0 }type V = BoxPointsTo<T>
Auto Trait Implementations§
impl<'a, T> Freeze for BoxPointsToRef<'a, T>
impl<'a, T> RefUnwindSafe for BoxPointsToRef<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for BoxPointsToRef<'a, T>where
T: Sync,
impl<'a, T> Sync for BoxPointsToRef<'a, T>where
T: Sync,
impl<'a, T> Unpin for BoxPointsToRef<'a, T>
impl<'a, T> UnsafeUnpin for BoxPointsToRef<'a, T>
impl<'a, T> UnwindSafe for BoxPointsToRef<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more