Struct petgraph::Ptr [−] [src]

pub struct Ptr<'b, T: 'b>(pub &'b T);

A reference that is hashed and compared by its pointer value.

Trait Implementations

impl<'b, T> Copy for Ptr<'b, T>

impl<'b, T> Clone for Ptr<'b, T>

fn clone(&self) -> Self

fn clone_from(&mut self, source: &Self)

impl<'b, T> PartialEq for Ptr<'b, T>

fn eq(&self, other: &Ptr<'b, T>) -> bool

fn ne(&self, other: &Rhs) -> bool

impl<'b, T> PartialOrd for Ptr<'b, T>

fn partial_cmp(&self, other: &Ptr<'b, T>) -> Option<Ordering>

fn lt(&self, other: &Rhs) -> bool

fn le(&self, other: &Rhs) -> bool

fn gt(&self, other: &Rhs) -> bool

fn ge(&self, other: &Rhs) -> bool

impl<'b, T> Ord for Ptr<'b, T>

fn cmp(&self, other: &Ptr<'b, T>) -> Ordering

impl<'b, T> Deref for Ptr<'b, T>

type Target = T

fn deref<'a>(&'a self) -> &'a T

impl<'b, T> Eq for Ptr<'b, T>

impl<'b, T> Hash for Ptr<'b, T>

fn hash<H: Hasher>(&self, st: &mut H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<'b, T: Debug> Debug for Ptr<'b, T>

fn fmt(&self, f: &mut Formatter) -> Result