pub struct CheckpointCheckView<'view, 'target, 'tcx> {
pub checkpoint_index: usize,
pub checkpoint: &'view Checkpoint<'tcx>,
pub tree: &'view PathTree,
pub properties: &'target [Property<'tcx>],
}Expand description
Returns whether a function returns the owning struct type (i.e. is a constructor). Borrowed view of all verification inputs for one unsafe checkpoint.
Fields§
§checkpoint_index: usizePosition among checkpoints that have properties to verify.
checkpoint: &'view Checkpoint<'tcx>The concrete unsafe checkpoint in the caller MIR body.
tree: &'view PathTreePer-checkpoint prefix tree of all verification paths to this checkpoint.
properties: &'target [Property<'tcx>]Required safety properties for the unsafe callee.
Auto Trait Implementations§
impl<'view, 'target, 'tcx> Freeze for CheckpointCheckView<'view, 'target, 'tcx>
impl<'view, 'target, 'tcx> !RefUnwindSafe for CheckpointCheckView<'view, 'target, 'tcx>
impl<'view, 'target, 'tcx> Send for CheckpointCheckView<'view, 'target, 'tcx>
impl<'view, 'target, 'tcx> Sync for CheckpointCheckView<'view, 'target, 'tcx>
impl<'view, 'target, 'tcx> Unpin for CheckpointCheckView<'view, 'target, 'tcx>
impl<'view, 'target, 'tcx> !UnwindSafe for CheckpointCheckView<'view, 'target, 'tcx>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more