[][src]Struct rendy_memory::DedicatedBlock

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

Memory block allocated from DedicatedAllocator

Implementations

impl<B> DedicatedBlock<B> where
    B: Backend
[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 unmapped block.

Trait Implementations

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

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

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

impl<B> Sync for DedicatedBlock<B> where
    B: Backend
[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.