pub struct DeviceQueueInfo2Builder<'a> { /* private fields */ }Expand description
Builder for DeviceQueueInfo2 with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> DeviceQueueInfo2Builder<'a>
impl<'a> DeviceQueueInfo2Builder<'a>
pub fn flags( self, value: DeviceQueueCreateFlagBits, ) -> DeviceQueueInfo2Builder<'a>
pub fn queue_family_index(self, value: u32) -> DeviceQueueInfo2Builder<'a>
pub fn queue_index(self, value: u32) -> DeviceQueueInfo2Builder<'a>
Sourcepub fn push_next<T>(self, next: &'a mut T) -> DeviceQueueInfo2Builder<'a>where
T: ExtendsDeviceQueueInfo2,
pub fn push_next<T>(self, next: &'a mut T) -> DeviceQueueInfo2Builder<'a>where
T: ExtendsDeviceQueueInfo2,
Prepend a struct to the pNext chain. See DeviceQueueInfo2’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for DeviceQueueInfo2Builder<'a>
impl<'a> Deref for DeviceQueueInfo2Builder<'a>
Source§type Target = DeviceQueueInfo2
type Target = DeviceQueueInfo2
The resulting type after dereferencing.
Source§impl<'a> DerefMut for DeviceQueueInfo2Builder<'a>
impl<'a> DerefMut for DeviceQueueInfo2Builder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceQueueInfo2Builder<'a>
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> UnsafeUnpin for DeviceQueueInfo2Builder<'a>
impl<'a> UnwindSafe for DeviceQueueInfo2Builder<'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