pub struct DeviceQueueCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for VkDeviceQueueCreateInfo
.
Implementations§
Source§impl<'b> DeviceQueueCreateInfoBuilder<'b>
impl<'b> DeviceQueueCreateInfoBuilder<'b>
pub fn new() -> DeviceQueueCreateInfoBuilder<'b>
pub unsafe fn next<'m>( self, next: *const c_void, ) -> DeviceQueueCreateInfoBuilder<'b>
pub fn flags<'m>( self, flags: DeviceQueueCreateFlags, ) -> DeviceQueueCreateInfoBuilder<'b>
pub fn queue_family_index<'m>( self, queue_family_index: u32, ) -> DeviceQueueCreateInfoBuilder<'b>
pub fn queue_priorities<'m, 'a>(
self,
queue_priorities: &'a [f32],
) -> DeviceQueueCreateInfoBuilder<'b>where
'a: 'b,
pub fn get_next<'a>(&'a self) -> *const c_void
pub fn get_flags<'a>(&'a self) -> DeviceQueueCreateFlags
pub fn get_queue_family_index<'a>(&'a self) -> u32
pub fn get_queue_priorities<'a>(&'a self) -> &'a [f32]
pub fn build(self) -> DeviceQueueCreateInfo<'b>
Trait Implementations§
Source§impl<'b> Clone for DeviceQueueCreateInfoBuilder<'b>
impl<'b> Clone for DeviceQueueCreateInfoBuilder<'b>
Source§fn clone(&self) -> DeviceQueueCreateInfoBuilder<'b>
fn clone(&self) -> DeviceQueueCreateInfoBuilder<'b>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'b> Debug for DeviceQueueCreateInfoBuilder<'b>
impl<'b> Debug for DeviceQueueCreateInfoBuilder<'b>
Source§impl<'b> Default for DeviceQueueCreateInfoBuilder<'b>
impl<'b> Default for DeviceQueueCreateInfoBuilder<'b>
Source§fn default() -> DeviceQueueCreateInfoBuilder<'b>
fn default() -> DeviceQueueCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'b> Freeze for DeviceQueueCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for DeviceQueueCreateInfoBuilder<'b>
impl<'b> !Send for DeviceQueueCreateInfoBuilder<'b>
impl<'b> !Sync for DeviceQueueCreateInfoBuilder<'b>
impl<'b> Unpin for DeviceQueueCreateInfoBuilder<'b>
impl<'b> UnwindSafe for DeviceQueueCreateInfoBuilder<'b>
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