Struct pilka_lib::ash::vk::QueueFamilyPropertiesBuilder [−]
#[repr(transparent)]pub struct QueueFamilyPropertiesBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> QueueFamilyPropertiesBuilder<'a>
impl<'a> QueueFamilyPropertiesBuilder<'a>
pub fn queue_flags(
self,
queue_flags: QueueFlags
) -> QueueFamilyPropertiesBuilder<'a>
pub fn queue_count(self, queue_count: u32) -> QueueFamilyPropertiesBuilder<'a>
pub fn timestamp_valid_bits(
self,
timestamp_valid_bits: u32
) -> QueueFamilyPropertiesBuilder<'a>
pub fn min_image_transfer_granularity(
self,
min_image_transfer_granularity: Extent3D
) -> QueueFamilyPropertiesBuilder<'a>
pub 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.
Methods from Deref<Target = QueueFamilyProperties>
Trait Implementations
impl<'a> Deref for QueueFamilyPropertiesBuilder<'a>
impl<'a> Deref for QueueFamilyPropertiesBuilder<'a>
type Target = QueueFamilyProperties
type Target = QueueFamilyProperties
The resulting type after dereferencing.
pub fn deref(&self) -> &<QueueFamilyPropertiesBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<QueueFamilyPropertiesBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for QueueFamilyPropertiesBuilder<'a>
impl<'a> DerefMut for QueueFamilyPropertiesBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <QueueFamilyPropertiesBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <QueueFamilyPropertiesBuilder<'a> as Deref>::Target
Mutably dereferences the value.