pub struct Pointer(_);
Expand description
A type-erased pointer. The inner representation is specifically not a raw pointer to avoid aliasing the pointers handled by the allocator.
Implementations§
Trait Implementations§
source§impl Ord for Pointer
impl Ord for Pointer
source§impl PartialEq<Pointer> for Pointer
impl PartialEq<Pointer> for Pointer
source§impl PartialOrd<Pointer> for Pointer
impl PartialOrd<Pointer> for Pointer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more