#[repr(u16)]pub enum Opcode {
Show 15 variants
GetDeviceInfo = 1,
CreateContext = 256,
DestroyContext = 257,
AllocateBuffer = 512,
FreeBuffer = 513,
WriteBuffer = 514,
ReadBuffer = 515,
LoadProgram = 768,
UnloadProgram = 769,
CreateQueue = 1_024,
DestroyQueue = 1_025,
Submit = 1_280,
PollEvent = 1_281,
CancelEvent = 1_282,
DestroyEvent = 1_283,
}Variants§
GetDeviceInfo = 1
CreateContext = 256
DestroyContext = 257
AllocateBuffer = 512
FreeBuffer = 513
WriteBuffer = 514
ReadBuffer = 515
LoadProgram = 768
UnloadProgram = 769
CreateQueue = 1_024
DestroyQueue = 1_025
Submit = 1_280
PollEvent = 1_281
CancelEvent = 1_282
DestroyEvent = 1_283
Trait Implementations§
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnsafeUnpin for Opcode
impl UnwindSafe for Opcode
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