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) -> Selffn 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) -> boolfn le(&self, other: &Rhs) -> boolfn gt(&self, other: &Rhs) -> boolfn ge(&self, other: &Rhs) -> boolimpl<'b, T> Ord for Ptr<'b, T>impl<'b, T> Deref for Ptr<'b, T>type Target = Tfn deref<'a>(&'a self) -> &'a Timpl<'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: Hasherimpl<'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).