pub struct StreamOptions {
pub flags: StreamFlags,
pub priority: i32,
}Expand description
Options for Context::create_stream.
Fields§
§flags: StreamFlagsStream creation behavior, StreamFlags::DEFAULT by default.
priority: i32Scheduling priority, where lower numbers are higher priorities and 0 is the default priority.
CUDA clamps a priority outside Device::stream_priority_range to the nearest end of that range.
Trait Implementations§
Source§impl Clone for StreamOptions
impl Clone for StreamOptions
impl Copy for StreamOptions
Source§impl Debug for StreamOptions
impl Debug for StreamOptions
Source§impl Default for StreamOptions
impl Default for StreamOptions
impl Eq for StreamOptions
Source§impl Hash for StreamOptions
impl Hash for StreamOptions
Source§impl PartialEq for StreamOptions
impl PartialEq for StreamOptions
impl StructuralPartialEq for StreamOptions
Auto Trait Implementations§
impl Forget for StreamOptions
impl Freeze for StreamOptions
impl Move for StreamOptions
impl RefUnwindSafe for StreamOptions
impl Send for StreamOptions
impl Sync for StreamOptions
impl Unpin for StreamOptions
impl UnsafeUnpin for StreamOptions
impl UnwindSafe for StreamOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.