pub struct BoxPointsTo<T> {
pub perm: PointsTowithDealloc<T>,
}Expand description
For Box<T>, the into_raw method gives you the ownership of the memory
Fields§
§perm: PointsTowithDealloc<T>Implementations§
Source§impl<T> BoxPointsTo<T>
impl<T> BoxPointsTo<T>
Sourcepub open spec fn perm(self) -> PointsTowithDealloc<T>
pub open spec fn perm(self) -> PointsTowithDealloc<T>
{ self.perm }Sourcepub proof fn tracked_get_points_to_with_dealloc(tracked self) -> tracked ret : PointsTowithDealloc<T>
pub proof fn tracked_get_points_to_with_dealloc(tracked self) -> tracked ret : PointsTowithDealloc<T>
Sourcepub proof fn tracked_borrow_points_to_with_dealloc(tracked &self) -> tracked ret : &PointsTowithDealloc<T>
pub proof fn tracked_borrow_points_to_with_dealloc(tracked &self) -> tracked ret : &PointsTowithDealloc<T>
Sourcepub proof fn tracked_get_points_to(tracked self) -> tracked ret : PointsTo<T>
pub proof fn tracked_get_points_to(tracked self) -> tracked ret : PointsTo<T>
Sourcepub proof fn tracked_borrow_points_to(tracked &self) -> tracked ret : &PointsTo<T>
pub proof fn tracked_borrow_points_to(tracked &self) -> tracked ret : &PointsTo<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BoxPointsTo<T>
impl<T> RefUnwindSafe for BoxPointsTo<T>where
T: RefUnwindSafe,
impl<T> Send for BoxPointsTo<T>where
T: Send,
impl<T> Sync for BoxPointsTo<T>where
T: Sync,
impl<T> Unpin for BoxPointsTo<T>where
T: Unpin,
impl<T> UnwindSafe for BoxPointsTo<T>where
T: UnwindSafe,
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