[][src]Struct spirit::fragment::driver::CacheId

pub struct CacheId(_);

ID used by the Driver to identify specific instance of the resource.

Only one ID can be created directly (CacheId::dummy). It can be used if the driver never creates more than one instance of the resource at a time.

If unique IDs are needed, the Driver needs to keep and use an IdGen to generate them.

Trait Implementations

impl Clone for CacheId[src]

impl Copy for CacheId[src]

impl Debug for CacheId[src]

impl Eq for CacheId[src]

impl Hash for CacheId[src]

impl Ord for CacheId[src]

impl PartialEq<CacheId> for CacheId[src]

impl PartialOrd<CacheId> for CacheId[src]

impl StructuralEq for CacheId[src]

impl StructuralPartialEq for CacheId[src]

Auto Trait Implementations

impl RefUnwindSafe for CacheId

impl Send for CacheId

impl Sync for CacheId

impl Unpin for CacheId

impl UnwindSafe for CacheId

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> IntoResult<T> for 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.