#[repr(transparent)]pub struct PhysicalDeviceMaintenance3PropertiesBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> PhysicalDeviceMaintenance3PropertiesBuilder<'a>
pub fn max_per_set_descriptors(
self,
max_per_set_descriptors: u32
) -> PhysicalDeviceMaintenance3PropertiesBuilder<'a>
pub fn max_memory_allocation_size(
self,
max_memory_allocation_size: u64
) -> PhysicalDeviceMaintenance3PropertiesBuilder<'a>
sourcepub fn build(self) -> PhysicalDeviceMaintenance3Properties
pub fn build(self) -> PhysicalDeviceMaintenance3Properties
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 PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
type Target = PhysicalDeviceMaintenance3Properties
type Target = PhysicalDeviceMaintenance3Properties
The resulting type after dereferencing.
sourcefn deref(
&self
) -> &<PhysicalDeviceMaintenance3PropertiesBuilder<'a> as Deref>::Target
fn deref(
&self
) -> &<PhysicalDeviceMaintenance3PropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <PhysicalDeviceMaintenance3PropertiesBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <PhysicalDeviceMaintenance3PropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.
impl<'_> ExtendsPhysicalDeviceProperties2 for PhysicalDeviceMaintenance3PropertiesBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> !Send for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMaintenance3PropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMaintenance3PropertiesBuilder<'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