#[repr(C)]pub struct _NV_ENC_LOCK_INPUT_BUFFER {
pub version: u32,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub inputBuffer: NV_ENC_INPUT_PTR,
pub bufferDataPtr: *mut c_void,
pub pitch: u32,
pub reserved1: [u32; 251],
pub reserved2: [*mut c_void; 64],
}
Fields§
§version: u32
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§inputBuffer: NV_ENC_INPUT_PTR
§bufferDataPtr: *mut c_void
§pitch: u32
§reserved1: [u32; 251]
§reserved2: [*mut c_void; 64]
Implementations§
source§impl _NV_ENC_LOCK_INPUT_BUFFER
impl _NV_ENC_LOCK_INPUT_BUFFER
pub fn doNotWait(&self) -> u32
pub fn set_doNotWait(&mut self, val: u32)
pub fn reservedBitFields(&self) -> u32
pub fn set_reservedBitFields(&mut self, val: u32)
pub fn new_bitfield_1( doNotWait: u32, reservedBitFields: u32 ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for _NV_ENC_LOCK_INPUT_BUFFER
impl Clone for _NV_ENC_LOCK_INPUT_BUFFER
source§fn clone(&self) -> _NV_ENC_LOCK_INPUT_BUFFER
fn clone(&self) -> _NV_ENC_LOCK_INPUT_BUFFER
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 _NV_ENC_LOCK_INPUT_BUFFER
impl Debug for _NV_ENC_LOCK_INPUT_BUFFER
source§impl Default for _NV_ENC_LOCK_INPUT_BUFFER
impl Default for _NV_ENC_LOCK_INPUT_BUFFER
source§impl Hash for _NV_ENC_LOCK_INPUT_BUFFER
impl Hash for _NV_ENC_LOCK_INPUT_BUFFER
source§impl Ord for _NV_ENC_LOCK_INPUT_BUFFER
impl Ord for _NV_ENC_LOCK_INPUT_BUFFER
source§fn cmp(&self, other: &_NV_ENC_LOCK_INPUT_BUFFER) -> Ordering
fn cmp(&self, other: &_NV_ENC_LOCK_INPUT_BUFFER) -> 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<_NV_ENC_LOCK_INPUT_BUFFER> for _NV_ENC_LOCK_INPUT_BUFFER
impl PartialEq<_NV_ENC_LOCK_INPUT_BUFFER> for _NV_ENC_LOCK_INPUT_BUFFER
source§fn eq(&self, other: &_NV_ENC_LOCK_INPUT_BUFFER) -> bool
fn eq(&self, other: &_NV_ENC_LOCK_INPUT_BUFFER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_LOCK_INPUT_BUFFER> for _NV_ENC_LOCK_INPUT_BUFFER
impl PartialOrd<_NV_ENC_LOCK_INPUT_BUFFER> for _NV_ENC_LOCK_INPUT_BUFFER
source§fn partial_cmp(&self, other: &_NV_ENC_LOCK_INPUT_BUFFER) -> Option<Ordering>
fn partial_cmp(&self, other: &_NV_ENC_LOCK_INPUT_BUFFER) -> 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 _NV_ENC_LOCK_INPUT_BUFFER
impl Eq for _NV_ENC_LOCK_INPUT_BUFFER
impl StructuralEq for _NV_ENC_LOCK_INPUT_BUFFER
impl StructuralPartialEq for _NV_ENC_LOCK_INPUT_BUFFER
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_LOCK_INPUT_BUFFER
impl !Send for _NV_ENC_LOCK_INPUT_BUFFER
impl !Sync for _NV_ENC_LOCK_INPUT_BUFFER
impl Unpin for _NV_ENC_LOCK_INPUT_BUFFER
impl UnwindSafe for _NV_ENC_LOCK_INPUT_BUFFER
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