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