Struct petgraph::Ptr
[−]
[src]
pub struct Ptr<'b, T: 'b>(pub &'b T);
A reference that is hashed and compared by its pointer value.
pub struct Ptr<'b, T: 'b>(pub &'b T);
A reference that is hashed and compared by its pointer value.
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>
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>
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>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).