[−][src]Struct vulkano::instance::MemoryHeap
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]
fn clone(&self) -> MemoryHeap<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,