pub struct SyclOperation {
pub op_type: SyclOperationType,
pub src_ptr: Option<*mut c_void>,
pub dst_ptr: Option<*mut c_void>,
pub size: usize,
pub timestamp: Instant,
pub event_handle: Option<*mut c_void>,
}Expand description
SYCL asynchronous operation
Fields§
§op_type: SyclOperationType§src_ptr: Option<*mut c_void>§dst_ptr: Option<*mut c_void>§size: usize§timestamp: Instant§event_handle: Option<*mut c_void>Trait Implementations§
Source§impl Clone for SyclOperation
impl Clone for SyclOperation
Source§fn clone(&self) -> SyclOperation
fn clone(&self) -> SyclOperation
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SyclOperation
impl RefUnwindSafe for SyclOperation
impl !Send for SyclOperation
impl !Sync for SyclOperation
impl Unpin for SyclOperation
impl UnsafeUnpin for SyclOperation
impl UnwindSafe for SyclOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more