Struct blaze_rs::core::CommandQueueProperties
source · #[non_exhaustive]pub struct CommandQueueProperties {
pub out_of_order_exec: OutOfOrderExec,
pub profiling: bool,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.out_of_order_exec: OutOfOrderExec
Determines whether the commands queued in the command-queue are executed in-order or out-of-order.
profiling: bool
Enable or disable profiling of commands in the command-queue. If set, the profiling of commands is enabled. Otherwise profiling of commands is disabled.
Implementations§
source§impl CommandQueueProperties
impl CommandQueueProperties
pub fn new( out_of_order_exec: impl Into<OutOfOrderExec>, profiling: bool ) -> Self
pub const fn const_new( out_of_order_exec: OutOfOrderExec, profiling: bool ) -> Self
pub const fn from_bits(v: cl_command_queue_properties) -> Self
pub const fn to_bits(self) -> cl_command_queue_properties
Trait Implementations§
source§impl Clone for CommandQueueProperties
impl Clone for CommandQueueProperties
source§fn clone(&self) -> CommandQueueProperties
fn clone(&self) -> CommandQueueProperties
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 Debug for CommandQueueProperties
impl Debug for CommandQueueProperties
source§impl Default for CommandQueueProperties
impl Default for CommandQueueProperties
source§impl From<CommandQueueProperties> for QueueProperties
impl From<CommandQueueProperties> for QueueProperties
source§fn from(props: CommandQueueProperties) -> Self
fn from(props: CommandQueueProperties) -> Self
Converts to this type from the input type.
source§impl Hash for CommandQueueProperties
impl Hash for CommandQueueProperties
source§impl PartialEq<CommandQueueProperties> for CommandQueueProperties
impl PartialEq<CommandQueueProperties> for CommandQueueProperties
source§fn eq(&self, other: &CommandQueueProperties) -> bool
fn eq(&self, other: &CommandQueueProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CommandQueueProperties
impl Eq for CommandQueueProperties
impl StructuralEq for CommandQueueProperties
impl StructuralPartialEq for CommandQueueProperties
Auto Trait Implementations§
impl RefUnwindSafe for CommandQueueProperties
impl Send for CommandQueueProperties
impl Sync for CommandQueueProperties
impl Unpin for CommandQueueProperties
impl UnwindSafe for CommandQueueProperties
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