pub struct EventRecord<E> { /* private fields */ }Implementations§
Source§impl<E> EventRecord<E>
impl<E> EventRecord<E>
pub fn resource(&self) -> Result<&E, DeviceStateError>
pub const fn context_id(&self) -> ObjectId
pub const fn queue_id(&self) -> ObjectId
pub const fn program_id(&self) -> ObjectId
pub fn buffer_ids(&self) -> &[ObjectId]
pub const fn release_state(&self) -> ReleaseState
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for EventRecord<E>where
E: Freeze,
impl<E> RefUnwindSafe for EventRecord<E>where
E: RefUnwindSafe,
impl<E> Send for EventRecord<E>where
E: Send,
impl<E> Sync for EventRecord<E>where
E: Sync,
impl<E> Unpin for EventRecord<E>where
E: Unpin,
impl<E> UnsafeUnpin for EventRecord<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for EventRecord<E>where
E: UnwindSafe,
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