#[repr(transparent)]pub struct PhysicalDevicePropertiesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDevicePropertiesBuilder<'a>
impl<'a> PhysicalDevicePropertiesBuilder<'a>
pub fn api_version(
self,
api_version: u32
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn driver_version(
self,
driver_version: u32
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn vendor_id(self, vendor_id: u32) -> PhysicalDevicePropertiesBuilder<'a>
pub fn device_id(self, device_id: u32) -> PhysicalDevicePropertiesBuilder<'a>
pub fn device_type(
self,
device_type: PhysicalDeviceType
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn device_name(
self,
device_name: [i8; 256]
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn pipeline_cache_uuid(
self,
pipeline_cache_uuid: [u8; 16]
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn limits(
self,
limits: PhysicalDeviceLimits
) -> PhysicalDevicePropertiesBuilder<'a>
pub fn sparse_properties(
self,
sparse_properties: PhysicalDeviceSparseProperties
) -> PhysicalDevicePropertiesBuilder<'a>
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
sourceimpl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
impl<'a> Deref for PhysicalDevicePropertiesBuilder<'a>
type Target = PhysicalDeviceProperties
type Target = PhysicalDeviceProperties
The resulting type after dereferencing.
sourcefn deref(&self) -> &<PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
fn deref(&self) -> &<PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDevicePropertiesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDevicePropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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