Struct rafx_base::slab::RawSlabKey[][src]

pub struct RawSlabKey<T: Sized> { /* fields omitted */ }

A key to a value in a RawSlab

Implementations

impl<T: Sized> RawSlabKey<T>[src]

pub fn new(index: SlabIndexT) -> Self[src]

pub fn index(self) -> SlabIndexT[src]

Trait Implementations

impl<T: Sized> Clone for RawSlabKey<T>[src]

impl<T: Sized> Copy for RawSlabKey<T>[src]

impl<T: Sized> Debug for RawSlabKey<T>[src]

impl<T: Sized> Eq for RawSlabKey<T>[src]

impl<T: Sized> Hash for RawSlabKey<T>[src]

impl<T: Sized> PartialEq<RawSlabKey<T>> for RawSlabKey<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for RawSlabKey<T> where
    T: RefUnwindSafe

impl<T> Send for RawSlabKey<T> where
    T: Send

impl<T> Sync for RawSlabKey<T> where
    T: Sync

impl<T> Unpin for RawSlabKey<T> where
    T: Unpin

impl<T> UnwindSafe for RawSlabKey<T> where
    T: UnwindSafe

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Downcast + Send + Sync
[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.