pub struct SafeDropObserver<'a> {
pub drop_record: &'a mut Vec<DropRecord>,
pub bug_records: &'a mut BugRecords,
pub current_bb: usize,
}Fields§
§drop_record: &'a mut Vec<DropRecord>§bug_records: &'a mut BugRecords§current_bb: usizeTrait Implementations§
Source§impl AliasObserver for SafeDropObserver<'_>
impl AliasObserver for SafeDropObserver<'_>
fn on_value_use( &mut self, graph: &AliasGraph<'_>, vidx: usize, span: Span, in_call: bool, )
fn on_value_assign(&mut self, graph: &AliasGraph<'_>, vidx: usize)
fn on_state_change(&mut self, graph: &AliasGraph<'_>)
fn track_all_moves(&self) -> bool
Auto Trait Implementations§
impl<'a> !UnwindSafe for SafeDropObserver<'a>
impl<'a> DynSend for SafeDropObserver<'a>
impl<'a> DynSync for SafeDropObserver<'a>
impl<'a> Freeze for SafeDropObserver<'a>
impl<'a> RefUnwindSafe for SafeDropObserver<'a>
impl<'a> Send for SafeDropObserver<'a>
impl<'a> Sync for SafeDropObserver<'a>
impl<'a> Unpin for SafeDropObserver<'a>
impl<'a> UnsafeUnpin for SafeDropObserver<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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