Struct nvidia_video_codec_sdk::sys::nvcuvid::_CUVIDSOURCEPARAMS
source · #[repr(C)]pub struct _CUVIDSOURCEPARAMS {
pub ulClockRate: c_uint,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub uReserved1: [c_uint; 6],
pub pUserData: *mut c_void,
pub pfnVideoDataHandler: PFNVIDSOURCECALLBACK,
pub pfnAudioDataHandler: PFNVIDSOURCECALLBACK,
pub pvReserved2: [*mut c_void; 8],
}
Fields§
§ulClockRate: c_uint
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§uReserved1: [c_uint; 6]
§pUserData: *mut c_void
§pfnVideoDataHandler: PFNVIDSOURCECALLBACK
§pfnAudioDataHandler: PFNVIDSOURCECALLBACK
§pvReserved2: [*mut c_void; 8]
Implementations§
source§impl _CUVIDSOURCEPARAMS
impl _CUVIDSOURCEPARAMS
pub fn bAnnexb(&self) -> c_uint
pub fn set_bAnnexb(&mut self, val: c_uint)
pub fn uReserved(&self) -> c_uint
pub fn set_uReserved(&mut self, val: c_uint)
pub fn new_bitfield_1( bAnnexb: c_uint, uReserved: c_uint ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for _CUVIDSOURCEPARAMS
impl Clone for _CUVIDSOURCEPARAMS
source§fn clone(&self) -> _CUVIDSOURCEPARAMS
fn clone(&self) -> _CUVIDSOURCEPARAMS
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 _CUVIDSOURCEPARAMS
impl Debug for _CUVIDSOURCEPARAMS
source§impl Default for _CUVIDSOURCEPARAMS
impl Default for _CUVIDSOURCEPARAMS
source§impl Hash for _CUVIDSOURCEPARAMS
impl Hash for _CUVIDSOURCEPARAMS
source§impl Ord for _CUVIDSOURCEPARAMS
impl Ord for _CUVIDSOURCEPARAMS
source§fn cmp(&self, other: &_CUVIDSOURCEPARAMS) -> Ordering
fn cmp(&self, other: &_CUVIDSOURCEPARAMS) -> 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<_CUVIDSOURCEPARAMS> for _CUVIDSOURCEPARAMS
impl PartialEq<_CUVIDSOURCEPARAMS> for _CUVIDSOURCEPARAMS
source§fn eq(&self, other: &_CUVIDSOURCEPARAMS) -> bool
fn eq(&self, other: &_CUVIDSOURCEPARAMS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_CUVIDSOURCEPARAMS> for _CUVIDSOURCEPARAMS
impl PartialOrd<_CUVIDSOURCEPARAMS> for _CUVIDSOURCEPARAMS
source§fn partial_cmp(&self, other: &_CUVIDSOURCEPARAMS) -> Option<Ordering>
fn partial_cmp(&self, other: &_CUVIDSOURCEPARAMS) -> 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 _CUVIDSOURCEPARAMS
impl Eq for _CUVIDSOURCEPARAMS
impl StructuralEq for _CUVIDSOURCEPARAMS
impl StructuralPartialEq for _CUVIDSOURCEPARAMS
Auto Trait Implementations§
impl RefUnwindSafe for _CUVIDSOURCEPARAMS
impl !Send for _CUVIDSOURCEPARAMS
impl !Sync for _CUVIDSOURCEPARAMS
impl Unpin for _CUVIDSOURCEPARAMS
impl UnwindSafe for _CUVIDSOURCEPARAMS
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