pub struct SyclQueue {
pub handle: *mut c_void,
pub id: u32,
pub properties: SyclQueueProperties,
pub created_at: Instant,
pub operations: VecDeque<SyclOperation>,
pub context_id: Option<u32>,
}Expand description
SYCL queue for asynchronous operations
Fields§
§handle: *mut c_voidQueue handle (simulated)
id: u32Queue ID
properties: SyclQueuePropertiesQueue properties
created_at: InstantCreation time
operations: VecDeque<SyclOperation>Operations queue
context_id: Option<u32>Associated context
Auto Trait Implementations§
impl Freeze for SyclQueue
impl RefUnwindSafe for SyclQueue
impl !Send for SyclQueue
impl !Sync for SyclQueue
impl Unpin for SyclQueue
impl UnwindSafe for SyclQueue
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> 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