#[repr(u16)]pub enum KnownOpcode {
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§
Source§impl Clone for KnownOpcode
impl Clone for KnownOpcode
Source§fn clone(&self) -> KnownOpcode
fn clone(&self) -> KnownOpcode
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 moreimpl Copy for KnownOpcode
Source§impl Debug for KnownOpcode
impl Debug for KnownOpcode
impl Eq for KnownOpcode
Source§impl PartialEq for KnownOpcode
impl PartialEq for KnownOpcode
impl StructuralPartialEq for KnownOpcode
Auto Trait Implementations§
impl Freeze for KnownOpcode
impl RefUnwindSafe for KnownOpcode
impl Send for KnownOpcode
impl Sync for KnownOpcode
impl Unpin for KnownOpcode
impl UnsafeUnpin for KnownOpcode
impl UnwindSafe for KnownOpcode
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