pub struct CommandQueueDesc(/* private fields */);
Expand description
Wrapper around D3D12_COMMAND_QUEUE_DESC structure
Implementations§
Source§impl CommandQueueDesc
impl CommandQueueDesc
pub fn set_queue_type(&mut self, queue_type: CommandListType) -> &mut Self
pub fn with_queue_type(self, queue_type: CommandListType) -> Self
pub fn queue_type(&self) -> CommandListType
pub fn set_priority(&mut self, priority: i32) -> &mut Self
pub fn with_priority(self, priority: i32) -> Self
pub fn priority(&self) -> i32
pub fn set_flags(&mut self, flags: CommandQueueFlags) -> &mut Self
pub fn with_flags(self, flags: CommandQueueFlags) -> Self
pub fn flags(&self) -> CommandQueueFlags
pub fn set_node_mask(&mut self, node_mask: u32) -> &mut Self
pub fn with_node_mask(self, node_mask: u32) -> Self
pub fn node_mask(&self) -> u32
Trait Implementations§
Source§impl Clone for CommandQueueDesc
impl Clone for CommandQueueDesc
Source§fn clone(&self) -> CommandQueueDesc
fn clone(&self) -> CommandQueueDesc
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 Debug for CommandQueueDesc
impl Debug for CommandQueueDesc
Source§impl Default for CommandQueueDesc
impl Default for CommandQueueDesc
Source§fn default() -> CommandQueueDesc
fn default() -> CommandQueueDesc
Returns the “default value” for a type. Read more
Source§impl Hash for CommandQueueDesc
impl Hash for CommandQueueDesc
Source§impl Ord for CommandQueueDesc
impl Ord for CommandQueueDesc
Source§fn cmp(&self, other: &CommandQueueDesc) -> Ordering
fn cmp(&self, other: &CommandQueueDesc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CommandQueueDesc
impl PartialEq for CommandQueueDesc
Source§impl PartialOrd for CommandQueueDesc
impl PartialOrd for CommandQueueDesc
impl Eq for CommandQueueDesc
impl StructuralPartialEq for CommandQueueDesc
Auto Trait Implementations§
impl Freeze for CommandQueueDesc
impl RefUnwindSafe for CommandQueueDesc
impl Send for CommandQueueDesc
impl Sync for CommandQueueDesc
impl Unpin for CommandQueueDesc
impl UnwindSafe for CommandQueueDesc
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