#[repr(C)]pub struct _NV_ENC_MAP_INPUT_RESOURCE {
pub version: u32,
pub subResourceIndex: u32,
pub inputResource: *mut c_void,
pub registeredResource: NV_ENC_REGISTERED_PTR,
pub mappedResource: NV_ENC_INPUT_PTR,
pub mappedBufferFmt: NV_ENC_BUFFER_FORMAT,
pub reserved1: [u32; 251],
pub reserved2: [*mut c_void; 63],
}
Fields§
§version: u32
§subResourceIndex: u32
§inputResource: *mut c_void
§registeredResource: NV_ENC_REGISTERED_PTR
§mappedResource: NV_ENC_INPUT_PTR
§mappedBufferFmt: NV_ENC_BUFFER_FORMAT
§reserved1: [u32; 251]
§reserved2: [*mut c_void; 63]
Trait Implementations§
source§impl Clone for _NV_ENC_MAP_INPUT_RESOURCE
impl Clone for _NV_ENC_MAP_INPUT_RESOURCE
source§fn clone(&self) -> _NV_ENC_MAP_INPUT_RESOURCE
fn clone(&self) -> _NV_ENC_MAP_INPUT_RESOURCE
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_MAP_INPUT_RESOURCE
impl Debug for _NV_ENC_MAP_INPUT_RESOURCE
source§impl Default for _NV_ENC_MAP_INPUT_RESOURCE
impl Default for _NV_ENC_MAP_INPUT_RESOURCE
source§impl Hash for _NV_ENC_MAP_INPUT_RESOURCE
impl Hash for _NV_ENC_MAP_INPUT_RESOURCE
source§impl Ord for _NV_ENC_MAP_INPUT_RESOURCE
impl Ord for _NV_ENC_MAP_INPUT_RESOURCE
source§fn cmp(&self, other: &_NV_ENC_MAP_INPUT_RESOURCE) -> Ordering
fn cmp(&self, other: &_NV_ENC_MAP_INPUT_RESOURCE) -> 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_MAP_INPUT_RESOURCE> for _NV_ENC_MAP_INPUT_RESOURCE
impl PartialEq<_NV_ENC_MAP_INPUT_RESOURCE> for _NV_ENC_MAP_INPUT_RESOURCE
source§fn eq(&self, other: &_NV_ENC_MAP_INPUT_RESOURCE) -> bool
fn eq(&self, other: &_NV_ENC_MAP_INPUT_RESOURCE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<_NV_ENC_MAP_INPUT_RESOURCE> for _NV_ENC_MAP_INPUT_RESOURCE
impl PartialOrd<_NV_ENC_MAP_INPUT_RESOURCE> for _NV_ENC_MAP_INPUT_RESOURCE
source§fn partial_cmp(&self, other: &_NV_ENC_MAP_INPUT_RESOURCE) -> Option<Ordering>
fn partial_cmp(&self, other: &_NV_ENC_MAP_INPUT_RESOURCE) -> 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_MAP_INPUT_RESOURCE
impl Eq for _NV_ENC_MAP_INPUT_RESOURCE
impl StructuralEq for _NV_ENC_MAP_INPUT_RESOURCE
impl StructuralPartialEq for _NV_ENC_MAP_INPUT_RESOURCE
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_MAP_INPUT_RESOURCE
impl !Send for _NV_ENC_MAP_INPUT_RESOURCE
impl !Sync for _NV_ENC_MAP_INPUT_RESOURCE
impl Unpin for _NV_ENC_MAP_INPUT_RESOURCE
impl UnwindSafe for _NV_ENC_MAP_INPUT_RESOURCE
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