#[repr(transparent)]pub struct PhysicalDeviceMemoryPropertiesBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of PhysicalDeviceMemoryProperties
Implementations
sourceimpl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn new() -> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn memory_type_count(self, memory_type_count: u32) -> Self
pub fn memory_types(self, memory_types: [MemoryType; 32]) -> Self
pub fn memory_heap_count(self, memory_heap_count: u32) -> Self
pub fn memory_heaps(self, memory_heaps: [MemoryHeap; 16]) -> Self
pub fn build(self) -> PhysicalDeviceMemoryProperties
Trait Implementations
sourceimpl<'a> Clone for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Clone for PhysicalDeviceMemoryPropertiesBuilder<'a>
sourcefn clone(&self) -> PhysicalDeviceMemoryPropertiesBuilder<'a>
fn clone(&self) -> PhysicalDeviceMemoryPropertiesBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Debug for PhysicalDeviceMemoryPropertiesBuilder<'a>
sourceimpl<'a> Default for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Default for PhysicalDeviceMemoryPropertiesBuilder<'a>
sourcefn default() -> PhysicalDeviceMemoryPropertiesBuilder<'a>
fn default() -> PhysicalDeviceMemoryPropertiesBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceMemoryPropertiesBuilder<'a>
type Target = PhysicalDeviceMemoryProperties
type Target = PhysicalDeviceMemoryProperties
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Copy for PhysicalDeviceMemoryPropertiesBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Send for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Sync for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMemoryPropertiesBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more