Struct ash::vk::DeviceQueueInfo2Builder
source · [−]#[repr(transparent)]pub struct DeviceQueueInfo2Builder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DeviceQueueInfo2Builder<'a>
impl<'a> DeviceQueueInfo2Builder<'a>
pub fn flags(self, flags: DeviceQueueCreateFlags) -> Self
pub fn queue_family_index(self, queue_family_index: u32) -> Self
pub fn queue_index(self, queue_index: u32) -> Self
sourcepub 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.
Trait Implementations
sourceimpl<'a> Deref for DeviceQueueInfo2Builder<'a>
impl<'a> Deref for DeviceQueueInfo2Builder<'a>
type Target = DeviceQueueInfo2
type Target = DeviceQueueInfo2
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for DeviceQueueInfo2Builder<'a>
impl<'a> !Send for DeviceQueueInfo2Builder<'a>
impl<'a> !Sync for DeviceQueueInfo2Builder<'a>
impl<'a> Unpin for DeviceQueueInfo2Builder<'a>
impl<'a> UnwindSafe for DeviceQueueInfo2Builder<'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