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

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

Represents a memory heap in a physical device.


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> Send for MemoryHeap<'a>

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

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

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

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

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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