pub struct EventFlags(pub u32);Expand description
Flags for event creation.
Mirrors cudaEventFlags.
Tuple Fields§
§0: u32Implementations§
Source§impl EventFlags
impl EventFlags
Sourcepub const DISABLE_TIMING: Self
pub const DISABLE_TIMING: Self
Event will not record timing data (lower overhead).
Sourcepub const INTERPROCESS: Self
pub const INTERPROCESS: Self
Event can be used for interprocess synchronisation.
Trait Implementations§
Source§impl Clone for EventFlags
impl Clone for EventFlags
Source§fn clone(&self) -> EventFlags
fn clone(&self) -> EventFlags
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 moreSource§impl Debug for EventFlags
impl Debug for EventFlags
Source§impl Default for EventFlags
impl Default for EventFlags
Source§fn default() -> EventFlags
fn default() -> EventFlags
Returns the “default value” for a type. Read more
Source§impl Hash for EventFlags
impl Hash for EventFlags
Source§impl PartialEq for EventFlags
impl PartialEq for EventFlags
impl Copy for EventFlags
impl Eq for EventFlags
impl StructuralPartialEq for EventFlags
Auto Trait Implementations§
impl Freeze for EventFlags
impl RefUnwindSafe for EventFlags
impl Send for EventFlags
impl Sync for EventFlags
impl Unpin for EventFlags
impl UnsafeUnpin for EventFlags
impl UnwindSafe for EventFlags
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