pub struct StreamFlags(pub u32);Expand description
Flags for stream creation.
Mirrors cudaStreamFlags.
Tuple Fields§
§0: u32Implementations§
Source§impl StreamFlags
impl StreamFlags
Sourcepub const DEFAULT: Self
pub const DEFAULT: Self
Default stream flag: stream synchronises with the legacy default stream.
Sourcepub const NON_BLOCKING: Self
pub const NON_BLOCKING: Self
Non-blocking stream: the stream does not implicitly synchronise with the
legacy default stream (mirrors cudaStreamNonBlocking).
Trait Implementations§
Source§impl Clone for StreamFlags
impl Clone for StreamFlags
Source§fn clone(&self) -> StreamFlags
fn clone(&self) -> StreamFlags
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 StreamFlags
impl Debug for StreamFlags
Source§impl Default for StreamFlags
impl Default for StreamFlags
Source§fn default() -> StreamFlags
fn default() -> StreamFlags
Returns the “default value” for a type. Read more
Source§impl Hash for StreamFlags
impl Hash for StreamFlags
Source§impl PartialEq for StreamFlags
impl PartialEq for StreamFlags
impl Copy for StreamFlags
impl Eq for StreamFlags
impl StructuralPartialEq for StreamFlags
Auto Trait Implementations§
impl Freeze for StreamFlags
impl RefUnwindSafe for StreamFlags
impl Send for StreamFlags
impl Sync for StreamFlags
impl Unpin for StreamFlags
impl UnsafeUnpin for StreamFlags
impl UnwindSafe for StreamFlags
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