#[repr(transparent)]pub struct PhysicalDeviceMemoryPropertiesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceMemoryProperties
.
Implementations§
source§impl PhysicalDeviceMemoryPropertiesBuilder
impl PhysicalDeviceMemoryPropertiesBuilder
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§
source§impl Cast for PhysicalDeviceMemoryPropertiesBuilder
impl Cast for PhysicalDeviceMemoryPropertiesBuilder
§type Target = PhysicalDeviceMemoryProperties
type Target = PhysicalDeviceMemoryProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceMemoryPropertiesBuilder
impl Clone for PhysicalDeviceMemoryPropertiesBuilder
source§fn clone(&self) -> PhysicalDeviceMemoryPropertiesBuilder
fn clone(&self) -> PhysicalDeviceMemoryPropertiesBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PhysicalDeviceMemoryPropertiesBuilder
impl Default for PhysicalDeviceMemoryPropertiesBuilder
source§fn default() -> PhysicalDeviceMemoryPropertiesBuilder
fn default() -> PhysicalDeviceMemoryPropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceMemoryPropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceMemoryPropertiesBuilder
impl Send for PhysicalDeviceMemoryPropertiesBuilder
impl Sync for PhysicalDeviceMemoryPropertiesBuilder
impl Unpin for PhysicalDeviceMemoryPropertiesBuilder
impl UnwindSafe for PhysicalDeviceMemoryPropertiesBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more