Struct pilka_lib::ash::vk::DeviceQueueInfo2Builder [−]
#[repr(transparent)]pub struct DeviceQueueInfo2Builder<'a> { /* fields omitted */ }
Implementations
impl<'a> DeviceQueueInfo2Builder<'a>
impl<'a> DeviceQueueInfo2Builder<'a>
pub fn flags(self, flags: DeviceQueueCreateFlags) -> DeviceQueueInfo2Builder<'a>
pub fn queue_family_index(
self,
queue_family_index: u32
) -> DeviceQueueInfo2Builder<'a>
pub fn queue_index(self, queue_index: u32) -> DeviceQueueInfo2Builder<'a>
pub fn build(self) -> DeviceQueueInfo2
pub fn build(self) -> DeviceQueueInfo2
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 = DeviceQueueInfo2>
Trait Implementations
impl<'a> Deref for DeviceQueueInfo2Builder<'a>
impl<'a> Deref for DeviceQueueInfo2Builder<'a>
type Target = DeviceQueueInfo2
type Target = DeviceQueueInfo2
The resulting type after dereferencing.
pub fn deref(&self) -> &<DeviceQueueInfo2Builder<'a> as Deref>::Target
pub fn deref(&self) -> &<DeviceQueueInfo2Builder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for DeviceQueueInfo2Builder<'a>
impl<'a> DerefMut for DeviceQueueInfo2Builder<'a>
pub fn deref_mut(
&mut self
) -> &mut <DeviceQueueInfo2Builder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <DeviceQueueInfo2Builder<'a> as Deref>::Target
Mutably dereferences the value.