[][src]Struct rendy_memory::DedicatedBlock

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

Memory block allocated from DedicatedAllocator

Methods

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]

fn size(&self) -> u64[src]

Get size of the block.

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

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

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

Auto Trait Implementations

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

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

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

Blanket Implementations

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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