pub struct CommandQueueGroupInfo {
pub ordinal: u32,
pub compute: bool,
pub copy: bool,
pub num_queues: u32,
}Expand description
One entry of zeDeviceGetCommandQueueGroupProperties.
Fields§
§ordinal: u32The ordinal passed to command-list / command-queue descriptors.
compute: booltrue when this group can execute compute kernels.
copy: booltrue when this group can execute memory-copy commands.
num_queues: u32Number of physical queues in this group.
Trait Implementations§
Source§impl Clone for CommandQueueGroupInfo
impl Clone for CommandQueueGroupInfo
Source§fn clone(&self) -> CommandQueueGroupInfo
fn clone(&self) -> CommandQueueGroupInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandQueueGroupInfo
impl Debug for CommandQueueGroupInfo
impl Eq for CommandQueueGroupInfo
Source§impl PartialEq for CommandQueueGroupInfo
impl PartialEq for CommandQueueGroupInfo
Source§fn eq(&self, other: &CommandQueueGroupInfo) -> bool
fn eq(&self, other: &CommandQueueGroupInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommandQueueGroupInfo
Auto Trait Implementations§
impl Freeze for CommandQueueGroupInfo
impl RefUnwindSafe for CommandQueueGroupInfo
impl Send for CommandQueueGroupInfo
impl Sync for CommandQueueGroupInfo
impl Unpin for CommandQueueGroupInfo
impl UnsafeUnpin for CommandQueueGroupInfo
impl UnwindSafe for CommandQueueGroupInfo
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