pub struct QueueFamilyPropertiesBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> QueueFamilyPropertiesBuilder<'a>
impl<'a> QueueFamilyPropertiesBuilder<'a>
pub fn queue_flags(self, queue_flags: QueueFlags) -> Self
pub fn queue_count(self, queue_count: u32) -> Self
pub fn timestamp_valid_bits(self, timestamp_valid_bits: u32) -> Self
pub fn min_image_transfer_granularity( self, min_image_transfer_granularity: Extent3D, ) -> Self
Sourcepub fn build(self) -> QueueFamilyProperties
pub fn build(self) -> QueueFamilyProperties
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 QueueFamilyPropertiesBuilder<'a>
impl<'a> Deref for QueueFamilyPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueueFamilyPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for QueueFamilyPropertiesBuilder<'a>
impl<'a> Send for QueueFamilyPropertiesBuilder<'a>
impl<'a> Sync for QueueFamilyPropertiesBuilder<'a>
impl<'a> Unpin for QueueFamilyPropertiesBuilder<'a>
impl<'a> UnwindSafe for QueueFamilyPropertiesBuilder<'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