[−][src]Struct ptr_origin_tracker::Tracker
Implementations
impl<T> Tracker<T> where
Cookie<T>: Hash + Eq,
T: Debug,
T: Trackable<Tracker = Self>,
[src]
Cookie<T>: Hash + Eq,
T: Debug,
T: Trackable<Tracker = Self>,
pub fn new() -> Self
[src]
pub fn track(handle: *mut T) -> Result<(), Error<T>>
[src]
pub fn contains(handle: *mut T) -> bool
[src]
Deprecated
pub fn exists(handle: *mut T) -> bool
[src]
pub fn untrack(handle: *mut T) -> Result<(), Error<T>>
[src]
pub fn cleanup<F>(f: F) where
F: Fn(*mut T),
[src]
F: Fn(*mut T),
Trait Implementations
impl<T> Clone for Tracker<T> where
T: Debug,
Cookie<T>: Hash + Eq,
T: Trackable<Tracker = Self>,
[src]
T: Debug,
Cookie<T>: Hash + Eq,
T: Trackable<Tracker = Self>,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for Tracker<T> where
T: Debug,
Cookie<T>: Hash + Eq,
T: Trackable<Tracker = Self>,
[src]
T: Debug,
Cookie<T>: Hash + Eq,
T: Trackable<Tracker = Self>,
Auto Trait Implementations
impl<T> RefUnwindSafe for Tracker<T>
impl<T> Send for Tracker<T>
impl<T> Sync for Tracker<T>
impl<T> Unpin for Tracker<T>
impl<T> UnwindSafe for Tracker<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,