Struct nvidia_video_codec_sdk::sys::nvcuvid::CUAUDIOFORMAT
source · #[repr(C)]pub struct CUAUDIOFORMAT {
pub codec: cudaAudioCodec,
pub channels: c_uint,
pub samplespersec: c_uint,
pub bitrate: c_uint,
pub reserved1: c_uint,
pub reserved2: c_uint,
}
Fields§
§codec: cudaAudioCodec
§channels: c_uint
§samplespersec: c_uint
§bitrate: c_uint
§reserved1: c_uint
§reserved2: c_uint
Trait Implementations§
source§impl Clone for CUAUDIOFORMAT
impl Clone for CUAUDIOFORMAT
source§fn clone(&self) -> CUAUDIOFORMAT
fn clone(&self) -> CUAUDIOFORMAT
Returns a copy 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 CUAUDIOFORMAT
impl Debug for CUAUDIOFORMAT
source§impl Default for CUAUDIOFORMAT
impl Default for CUAUDIOFORMAT
source§impl Hash for CUAUDIOFORMAT
impl Hash for CUAUDIOFORMAT
source§impl Ord for CUAUDIOFORMAT
impl Ord for CUAUDIOFORMAT
source§fn cmp(&self, other: &CUAUDIOFORMAT) -> Ordering
fn cmp(&self, other: &CUAUDIOFORMAT) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CUAUDIOFORMAT> for CUAUDIOFORMAT
impl PartialEq<CUAUDIOFORMAT> for CUAUDIOFORMAT
source§fn eq(&self, other: &CUAUDIOFORMAT) -> bool
fn eq(&self, other: &CUAUDIOFORMAT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUAUDIOFORMAT> for CUAUDIOFORMAT
impl PartialOrd<CUAUDIOFORMAT> for CUAUDIOFORMAT
source§fn partial_cmp(&self, other: &CUAUDIOFORMAT) -> Option<Ordering>
fn partial_cmp(&self, other: &CUAUDIOFORMAT) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CUAUDIOFORMAT
impl Eq for CUAUDIOFORMAT
impl StructuralEq for CUAUDIOFORMAT
impl StructuralPartialEq for CUAUDIOFORMAT
Auto Trait Implementations§
impl RefUnwindSafe for CUAUDIOFORMAT
impl Send for CUAUDIOFORMAT
impl Sync for CUAUDIOFORMAT
impl Unpin for CUAUDIOFORMAT
impl UnwindSafe for CUAUDIOFORMAT
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