Struct opencl3::event::EventCommandType
source · pub struct EventCommandType(pub u32);Expand description
EventCommandType is a newtype around the OpenCL cl_command_type
Tuple Fields§
§0: u32Trait Implementations§
source§impl Debug for EventCommandType
impl Debug for EventCommandType
source§impl Display for EventCommandType
impl Display for EventCommandType
Implement the Display trait for EventCommandType
source§impl From<u32> for EventCommandType
impl From<u32> for EventCommandType
Implement the From trait for EventCommandType
source§fn from(command_type: u32) -> EventCommandType
fn from(command_type: u32) -> EventCommandType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventCommandType
impl RefUnwindSafe for EventCommandType
impl Send for EventCommandType
impl Sync for EventCommandType
impl Unpin for EventCommandType
impl UnwindSafe for EventCommandType
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