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