[][src]Struct cart_tmp_gmem::DedicatedBlock

pub struct DedicatedBlock<B: Backend> { /* fields omitted */ }

Memory block allocated from DedicatedAllocator.

Implementations

impl<B: Backend> DedicatedBlock<B>[src]

pub fn unwrap_memory(self) -> Memory<B>[src]

Get inner memory. Panics if mapped.

pub fn from_memory(memory: Memory<B>) -> Self[src]

Make a non-mappable block.

pub fn size(&self) -> Size[src]

Get the size of the block.

Trait Implementations

impl<B: Backend> Block<B> for DedicatedBlock<B>[src]

impl<B: Debug + Backend> Debug for DedicatedBlock<B>[src]

impl<B: Backend> Send for DedicatedBlock<B>[src]

impl<B: Backend> Sync for DedicatedBlock<B>[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for DedicatedBlock<B> where
    <B as Backend>::Memory: RefUnwindSafe

impl<B> Unpin for DedicatedBlock<B> where
    <B as Backend>::Memory: Unpin

impl<B> UnwindSafe for DedicatedBlock<B> where
    <B as Backend>::Memory: 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> From<T> for T[src]

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

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.