pub struct CudaResidentCodestreamBuffer { /* private fields */ }Expand description
CUDA-resident copy of codestream bytes returned by a CUDA lossless encode.
Implementations§
Source§impl CudaResidentCodestreamBuffer
impl CudaResidentCodestreamBuffer
Sourcepub fn buffer(&self) -> &CudaDeviceBuffer
pub fn buffer(&self) -> &CudaDeviceBuffer
CUDA buffer containing the codestream bytes.
Sourcepub fn into_buffer(self) -> CudaDeviceBuffer
pub fn into_buffer(self) -> CudaDeviceBuffer
Consume this value and return the owned CUDA buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CudaResidentCodestreamBuffer
impl RefUnwindSafe for CudaResidentCodestreamBuffer
impl Send for CudaResidentCodestreamBuffer
impl Sync for CudaResidentCodestreamBuffer
impl Unpin for CudaResidentCodestreamBuffer
impl UnsafeUnpin for CudaResidentCodestreamBuffer
impl UnwindSafe for CudaResidentCodestreamBuffer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more