[][src]Struct ptr_origin_tracker::Cookie

pub struct Cookie<T>(_)
where
    T: Debug,
    *mut T: Hash + Eq
;

Implementations

impl<T> Cookie<T> where
    T: Debug,
    *mut T: Hash + Eq
[src]

pub fn as_ptr(&self) -> *mut T[src]

pub fn try_from(ptr: *mut T) -> Result<Self, Error<T>>[src]

Trait Implementations

impl<T: Debug> Debug for Cookie<T> where
    T: Debug,
    *mut T: Hash + Eq
[src]

impl<T> Eq for Cookie<T> where
    T: Debug
[src]

impl<T> Hash for Cookie<T> where
    T: Debug
[src]

impl<T> PartialEq<Cookie<T>> for Cookie<T> where
    T: Debug
[src]

impl<T> Send for Cookie<T> where
    T: Debug
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Cookie<T> where
    T: RefUnwindSafe

impl<T> !Sync for Cookie<T>

impl<T> Unpin for Cookie<T>

impl<T> UnwindSafe for Cookie<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.