#[repr(C)]pub struct _NV_ENC_RESTORE_ENCODER_STATE_PARAMS {
pub version: u32,
pub bufferIdx: u32,
pub state: NV_ENC_STATE_RESTORE_TYPE,
pub outputBitstream: NV_ENC_OUTPUT_PTR,
pub completionEvent: *mut c_void,
pub reserved1: [u32; 64],
pub reserved2: [*mut c_void; 64],
}
Fields§
§version: u32
§bufferIdx: u32
§state: NV_ENC_STATE_RESTORE_TYPE
§outputBitstream: NV_ENC_OUTPUT_PTR
§completionEvent: *mut c_void
§reserved1: [u32; 64]
§reserved2: [*mut c_void; 64]
Trait Implementations§
source§impl Clone for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl Clone for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
source§fn clone(&self) -> _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
fn clone(&self) -> _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
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 Ord for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl Ord for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
source§fn cmp(&self, other: &_NV_ENC_RESTORE_ENCODER_STATE_PARAMS) -> Ordering
fn cmp(&self, other: &_NV_ENC_RESTORE_ENCODER_STATE_PARAMS) -> 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_RESTORE_ENCODER_STATE_PARAMS> for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl PartialEq<_NV_ENC_RESTORE_ENCODER_STATE_PARAMS> for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
source§fn eq(&self, other: &_NV_ENC_RESTORE_ENCODER_STATE_PARAMS) -> bool
fn eq(&self, other: &_NV_ENC_RESTORE_ENCODER_STATE_PARAMS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_RESTORE_ENCODER_STATE_PARAMS> for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl PartialOrd<_NV_ENC_RESTORE_ENCODER_STATE_PARAMS> for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
source§fn partial_cmp(
&self,
other: &_NV_ENC_RESTORE_ENCODER_STATE_PARAMS
) -> Option<Ordering>
fn partial_cmp( &self, other: &_NV_ENC_RESTORE_ENCODER_STATE_PARAMS ) -> 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_RESTORE_ENCODER_STATE_PARAMS
impl Eq for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl StructuralEq for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl StructuralPartialEq for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl !Send for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl !Sync for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl Unpin for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
impl UnwindSafe for _NV_ENC_RESTORE_ENCODER_STATE_PARAMS
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