Struct vulkanalia::vk::PhysicalDevicePropertiesBuilder
source · #[repr(transparent)]pub struct PhysicalDevicePropertiesBuilder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceProperties
.
Implementations§
source§impl PhysicalDevicePropertiesBuilder
impl PhysicalDevicePropertiesBuilder
pub fn api_version(self, api_version: u32) -> Self
pub fn driver_version(self, driver_version: u32) -> Self
pub fn vendor_id(self, vendor_id: u32) -> Self
pub fn device_id(self, device_id: u32) -> Self
pub fn device_type(self, device_type: PhysicalDeviceType) -> Self
pub fn device_name( self, device_name: impl Into<StringArray<MAX_PHYSICAL_DEVICE_NAME_SIZE>> ) -> Self
pub fn pipeline_cache_uuid( self, pipeline_cache_uuid: impl Into<ByteArray<UUID_SIZE>> ) -> Self
pub fn limits(self, limits: impl Cast<Target = PhysicalDeviceLimits>) -> Self
pub fn sparse_properties( self, sparse_properties: impl Cast<Target = PhysicalDeviceSparseProperties> ) -> Self
pub fn build(self) -> PhysicalDeviceProperties
Trait Implementations§
source§impl Cast for PhysicalDevicePropertiesBuilder
impl Cast for PhysicalDevicePropertiesBuilder
§type Target = PhysicalDeviceProperties
type Target = PhysicalDeviceProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDevicePropertiesBuilder
impl Clone for PhysicalDevicePropertiesBuilder
source§fn clone(&self) -> PhysicalDevicePropertiesBuilder
fn clone(&self) -> PhysicalDevicePropertiesBuilder
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 PhysicalDevicePropertiesBuilder
impl Default for PhysicalDevicePropertiesBuilder
source§fn default() -> PhysicalDevicePropertiesBuilder
fn default() -> PhysicalDevicePropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDevicePropertiesBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDevicePropertiesBuilder
impl Send for PhysicalDevicePropertiesBuilder
impl Sync for PhysicalDevicePropertiesBuilder
impl Unpin for PhysicalDevicePropertiesBuilder
impl UnwindSafe for PhysicalDevicePropertiesBuilder
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