pub enum EventScope {
Device,
HostVisible,
KernelTimestamp,
}Expand description
Memory/host visibility scope for events in a pool (ze_event_pool_flags_t).
Variants§
Device
Events visible only to the device (0).
HostVisible
ZE_EVENT_POOL_FLAG_HOST_VISIBLE — the host can wait on the event.
KernelTimestamp
ZE_EVENT_POOL_FLAG_KERNEL_TIMESTAMP — events capture kernel timestamps.
Implementations§
Trait Implementations§
Source§impl Clone for EventScope
impl Clone for EventScope
Source§fn clone(&self) -> EventScope
fn clone(&self) -> EventScope
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 EventScope
Source§impl Debug for EventScope
impl Debug for EventScope
impl Eq for EventScope
Source§impl PartialEq for EventScope
impl PartialEq for EventScope
Source§fn eq(&self, other: &EventScope) -> bool
fn eq(&self, other: &EventScope) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventScope
Auto Trait Implementations§
impl Freeze for EventScope
impl RefUnwindSafe for EventScope
impl Send for EventScope
impl Sync for EventScope
impl Unpin for EventScope
impl UnsafeUnpin for EventScope
impl UnwindSafe for EventScope
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