Enum ocl_core::CommandType
source · #[repr(C)]pub enum CommandType {
Show 25 variants
NdrangeKernel = 4_592,
Task = 4_593,
NativeKernel = 4_594,
ReadBuffer = 4_595,
WriteBuffer = 4_596,
CopyBuffer = 4_597,
ReadImage = 4_598,
WriteImage = 4_599,
CopyImage = 4_600,
CopyImageToBuffer = 4_601,
CopyBufferToImage = 4_602,
MapBuffer = 4_603,
MapImage = 4_604,
UnmapMemObject = 4_605,
Marker = 4_606,
AcquireGlObjects = 4_607,
ReleaseGlObjects = 4_608,
ReadBufferRect = 4_609,
WriteBufferRect = 4_610,
CopyBufferRect = 4_611,
User = 4_612,
Barrier = 4_613,
MigrateMemObjects = 4_614,
FillBuffer = 4_615,
FillImage = 4_616,
}
Expand description
cl_command_type
Variants§
NdrangeKernel = 4_592
Task = 4_593
NativeKernel = 4_594
ReadBuffer = 4_595
WriteBuffer = 4_596
CopyBuffer = 4_597
ReadImage = 4_598
WriteImage = 4_599
CopyImage = 4_600
CopyImageToBuffer = 4_601
CopyBufferToImage = 4_602
MapBuffer = 4_603
MapImage = 4_604
UnmapMemObject = 4_605
Marker = 4_606
AcquireGlObjects = 4_607
ReleaseGlObjects = 4_608
ReadBufferRect = 4_609
WriteBufferRect = 4_610
CopyBufferRect = 4_611
User = 4_612
Barrier = 4_613
MigrateMemObjects = 4_614
FillBuffer = 4_615
FillImage = 4_616
Trait Implementations§
source§impl Clone for CommandType
impl Clone for CommandType
source§fn clone(&self) -> CommandType
fn clone(&self) -> CommandType
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 CommandType
impl Debug for CommandType
source§impl FromPrimitive for CommandType
impl FromPrimitive for CommandType
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§impl Hash for CommandType
impl Hash for CommandType
source§impl PartialEq for CommandType
impl PartialEq for CommandType
source§fn eq(&self, other: &CommandType) -> bool
fn eq(&self, other: &CommandType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CommandType
impl Eq for CommandType
impl StructuralEq for CommandType
impl StructuralPartialEq for CommandType
Auto Trait Implementations§
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnwindSafe for CommandType
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