#[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 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 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 for CUAUDIOFORMAT
impl PartialEq for CUAUDIOFORMAT
Source§impl PartialOrd for CUAUDIOFORMAT
impl PartialOrd for CUAUDIOFORMAT
impl Copy for CUAUDIOFORMAT
impl Eq for CUAUDIOFORMAT
impl StructuralPartialEq for CUAUDIOFORMAT
Auto Trait Implementations§
impl Freeze for CUAUDIOFORMAT
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