[][src]Struct dynamic_graph::Id

pub struct Id<'id> { /* fields omitted */ }

A phantomdata-like type taking a single invariant lifetime.

Used to manipulate and store the unique invariant lifetime produce by Guard.

Methods

impl<'id> Id<'id>[src]

pub unsafe fn new() -> Id<'id>[src]

Do not use this function; use the guard! macro instead.

Trait Implementations

impl<'id> Clone for Id<'id>[src]

impl<'id> Copy for Id<'id>[src]

impl<'id> Debug for Id<'id>[src]

impl<'id> Eq for Id<'id>[src]

impl<'id> From<Guard<'id>> for Id<'id>[src]

impl<'id> Hash for Id<'id>[src]

impl<'id> Ord for Id<'id>[src]

impl<'id> PartialEq<Id<'id>> for Id<'id>[src]

impl<'id> PartialOrd<Id<'id>> for Id<'id>[src]

impl<'id> StructuralEq for Id<'id>[src]

impl<'id> StructuralPartialEq for Id<'id>[src]

Auto Trait Implementations

impl<'id> RefUnwindSafe for Id<'id>

impl<'id> Send for Id<'id>

impl<'id> Sync for Id<'id>

impl<'id> Unpin for Id<'id>

impl<'id> !UnwindSafe for Id<'id>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.