Struct ash::vk::PhysicalDevicePropertiesBuilder
source · pub struct PhysicalDevicePropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDevicePropertiesBuilder<'a>
impl<'a> PhysicalDevicePropertiesBuilder<'a>
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: [c_char; 256]) -> Self
pub fn pipeline_cache_uuid(self, pipeline_cache_uuid: [u8; 16]) -> Self
pub fn limits(self, limits: PhysicalDeviceLimits) -> Self
pub fn sparse_properties( self, sparse_properties: PhysicalDeviceSparseProperties ) -> Self
sourcepub fn build(self) -> PhysicalDeviceProperties
pub fn build(self) -> PhysicalDeviceProperties
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Send for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Sync for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDevicePropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDevicePropertiesBuilder<'a>
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