pub struct BorrowedStream { /* private fields */ }Expand description
A stream borrowed from a CUDA context, associated with a cuSOLVER handle.
Implementations§
Source§impl BorrowedStream
impl BorrowedStream
Sourcepub const fn as_raw(&self) -> cudaStream_t
pub const fn as_raw(&self) -> cudaStream_t
Returns the raw CUDA stream handle.
Sourcepub fn context(&self) -> &CudaContext
pub fn context(&self) -> &CudaContext
Returns a reference to the CUDA context this stream belongs to.
Trait Implementations§
Source§impl Clone for BorrowedStream
impl Clone for BorrowedStream
Source§fn clone(&self) -> BorrowedStream
fn clone(&self) -> BorrowedStream
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 moreAuto Trait Implementations§
impl Freeze for BorrowedStream
impl RefUnwindSafe for BorrowedStream
impl !Send for BorrowedStream
impl !Sync for BorrowedStream
impl Unpin for BorrowedStream
impl UnsafeUnpin for BorrowedStream
impl UnwindSafe for BorrowedStream
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