Struct ash::vk::QueueFamilyPropertiesBuilder
source · [−]#[repr(transparent)]pub struct QueueFamilyPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for QueueFamilyPropertiesBuilder<'a>
impl<'a> Deref for QueueFamilyPropertiesBuilder<'a>
type Target = QueueFamilyProperties
type Target = QueueFamilyProperties
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more