#[repr(C)]
pub union _NV_ENC_CODEC_CONFIG {
pub h264Config: NV_ENC_CONFIG_H264,
pub hevcConfig: NV_ENC_CONFIG_HEVC,
pub av1Config: NV_ENC_CONFIG_AV1,
pub h264MeOnlyConfig: NV_ENC_CONFIG_H264_MEONLY,
pub hevcMeOnlyConfig: NV_ENC_CONFIG_HEVC_MEONLY,
pub reserved: [u32; 320],
}
Fields§
§h264Config: NV_ENC_CONFIG_H264
§hevcConfig: NV_ENC_CONFIG_HEVC
§av1Config: NV_ENC_CONFIG_AV1
§h264MeOnlyConfig: NV_ENC_CONFIG_H264_MEONLY
§hevcMeOnlyConfig: NV_ENC_CONFIG_HEVC_MEONLY
§reserved: [u32; 320]
Trait Implementations§
source§impl Clone for _NV_ENC_CODEC_CONFIG
impl Clone for _NV_ENC_CODEC_CONFIG
source§fn clone(&self) -> _NV_ENC_CODEC_CONFIG
fn clone(&self) -> _NV_ENC_CODEC_CONFIG
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 Default for _NV_ENC_CODEC_CONFIG
impl Default for _NV_ENC_CODEC_CONFIG
impl Copy for _NV_ENC_CODEC_CONFIG
Auto Trait Implementations§
impl RefUnwindSafe for _NV_ENC_CODEC_CONFIG
impl !Send for _NV_ENC_CODEC_CONFIG
impl !Sync for _NV_ENC_CODEC_CONFIG
impl Unpin for _NV_ENC_CODEC_CONFIG
impl UnwindSafe for _NV_ENC_CODEC_CONFIG
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