#[repr(C)]pub struct DeviceQueueCreateInfo<'s> { /* private fields */ }
Expand description
A VkDeviceQueueCreateInfo
.
Implementations§
Source§impl<'s> DeviceQueueCreateInfo<'s>
impl<'s> DeviceQueueCreateInfo<'s>
pub fn builder<'b>() -> DeviceQueueCreateInfoBuilder<'b>
pub unsafe fn from_raw( raw: VkDeviceQueueCreateInfo, ) -> DeviceQueueCreateInfo<'s>
pub fn next<'a>(&'a self) -> *const c_void
pub fn flags<'a>(&'a self) -> DeviceQueueCreateFlags
pub fn queue_family_index<'a>(&'a self) -> u32
pub fn queue_priorities<'a>(&'a self) -> &'a [f32]
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
pub fn set_flags<'m>(&mut self, flags: DeviceQueueCreateFlags)
pub fn set_queue_family_index<'m>(&mut self, queue_family_index: u32)
pub fn set_queue_priorities<'m, 'a>(&mut self, queue_priorities: &'a [f32])where
'a: 's,
pub fn as_raw(&self) -> &VkDeviceQueueCreateInfo
Trait Implementations§
Source§impl<'s> Clone for DeviceQueueCreateInfo<'s>
impl<'s> Clone for DeviceQueueCreateInfo<'s>
Source§fn clone(&self) -> DeviceQueueCreateInfo<'s>
fn clone(&self) -> DeviceQueueCreateInfo<'s>
Returns a copy 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<'s> Debug for DeviceQueueCreateInfo<'s>
impl<'s> Debug for DeviceQueueCreateInfo<'s>
Source§impl<'s> Default for DeviceQueueCreateInfo<'s>
impl<'s> Default for DeviceQueueCreateInfo<'s>
Source§fn default() -> DeviceQueueCreateInfo<'s>
fn default() -> DeviceQueueCreateInfo<'s>
Returns the “default value” for a type. Read more
Source§impl<'s> From<DeviceQueueCreateInfo<'s>> for VkDeviceQueueCreateInfo
impl<'s> From<DeviceQueueCreateInfo<'s>> for VkDeviceQueueCreateInfo
Source§fn from(f: DeviceQueueCreateInfo<'s>) -> VkDeviceQueueCreateInfo
fn from(f: DeviceQueueCreateInfo<'s>) -> VkDeviceQueueCreateInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl<'s> Freeze for DeviceQueueCreateInfo<'s>
impl<'s> RefUnwindSafe for DeviceQueueCreateInfo<'s>
impl<'s> !Send for DeviceQueueCreateInfo<'s>
impl<'s> !Sync for DeviceQueueCreateInfo<'s>
impl<'s> Unpin for DeviceQueueCreateInfo<'s>
impl<'s> UnwindSafe for DeviceQueueCreateInfo<'s>
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