[][src]Struct vulkano::instance::MemoryHeap

pub struct MemoryHeap<'a> { /* fields omitted */ }

Represents a memory heap in a physical device.

Implementations

impl<'a> MemoryHeap<'a>[src]

pub fn physical_device(&self) -> PhysicalDevice<'a>[src]

Returns the physical device associated to this memory heap.

pub fn id(&self) -> u32[src]

Returns the identifier of this memory heap within the physical device.

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

Returns the size in bytes on this heap.

pub fn is_device_local(&self) -> bool[src]

Returns true if the heap is local to the GPU.

Trait Implementations

impl<'a> Clone for MemoryHeap<'a>[src]

impl<'a> Copy for MemoryHeap<'a>[src]

impl<'a> Debug for MemoryHeap<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for MemoryHeap<'a>

impl<'a> Send for MemoryHeap<'a>

impl<'a> Sync for MemoryHeap<'a>

impl<'a> Unpin for MemoryHeap<'a>

impl<'a> UnwindSafe for MemoryHeap<'a>

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> Content for T[src]

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

impl<T, U> Into<U> for T where
    U: From<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.