#[repr(C)]pub struct CUVIDEOFORMAT__bindgen_ty_4 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub color_primaries: c_uchar,
pub transfer_characteristics: c_uchar,
pub matrix_coefficients: c_uchar,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§color_primaries: c_uchar
§transfer_characteristics: c_uchar
§matrix_coefficients: c_uchar
Implementations§
source§impl CUVIDEOFORMAT__bindgen_ty_4
impl CUVIDEOFORMAT__bindgen_ty_4
pub fn video_format(&self) -> c_uchar
pub fn set_video_format(&mut self, val: c_uchar)
pub fn video_full_range_flag(&self) -> c_uchar
pub fn set_video_full_range_flag(&mut self, val: c_uchar)
pub fn reserved_zero_bits(&self) -> c_uchar
pub fn set_reserved_zero_bits(&mut self, val: c_uchar)
pub fn new_bitfield_1( video_format: c_uchar, video_full_range_flag: c_uchar, reserved_zero_bits: c_uchar ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for CUVIDEOFORMAT__bindgen_ty_4
impl Clone for CUVIDEOFORMAT__bindgen_ty_4
source§fn clone(&self) -> CUVIDEOFORMAT__bindgen_ty_4
fn clone(&self) -> CUVIDEOFORMAT__bindgen_ty_4
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 CUVIDEOFORMAT__bindgen_ty_4
impl Debug for CUVIDEOFORMAT__bindgen_ty_4
source§impl Default for CUVIDEOFORMAT__bindgen_ty_4
impl Default for CUVIDEOFORMAT__bindgen_ty_4
source§fn default() -> CUVIDEOFORMAT__bindgen_ty_4
fn default() -> CUVIDEOFORMAT__bindgen_ty_4
Returns the “default value” for a type. Read more
source§impl Hash for CUVIDEOFORMAT__bindgen_ty_4
impl Hash for CUVIDEOFORMAT__bindgen_ty_4
source§impl Ord for CUVIDEOFORMAT__bindgen_ty_4
impl Ord for CUVIDEOFORMAT__bindgen_ty_4
source§fn cmp(&self, other: &CUVIDEOFORMAT__bindgen_ty_4) -> Ordering
fn cmp(&self, other: &CUVIDEOFORMAT__bindgen_ty_4) -> 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<CUVIDEOFORMAT__bindgen_ty_4> for CUVIDEOFORMAT__bindgen_ty_4
impl PartialEq<CUVIDEOFORMAT__bindgen_ty_4> for CUVIDEOFORMAT__bindgen_ty_4
source§fn eq(&self, other: &CUVIDEOFORMAT__bindgen_ty_4) -> bool
fn eq(&self, other: &CUVIDEOFORMAT__bindgen_ty_4) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CUVIDEOFORMAT__bindgen_ty_4> for CUVIDEOFORMAT__bindgen_ty_4
impl PartialOrd<CUVIDEOFORMAT__bindgen_ty_4> for CUVIDEOFORMAT__bindgen_ty_4
source§fn partial_cmp(&self, other: &CUVIDEOFORMAT__bindgen_ty_4) -> Option<Ordering>
fn partial_cmp(&self, other: &CUVIDEOFORMAT__bindgen_ty_4) -> 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 CUVIDEOFORMAT__bindgen_ty_4
impl Eq for CUVIDEOFORMAT__bindgen_ty_4
impl StructuralEq for CUVIDEOFORMAT__bindgen_ty_4
impl StructuralPartialEq for CUVIDEOFORMAT__bindgen_ty_4
Auto Trait Implementations§
impl RefUnwindSafe for CUVIDEOFORMAT__bindgen_ty_4
impl Send for CUVIDEOFORMAT__bindgen_ty_4
impl Sync for CUVIDEOFORMAT__bindgen_ty_4
impl Unpin for CUVIDEOFORMAT__bindgen_ty_4
impl UnwindSafe for CUVIDEOFORMAT__bindgen_ty_4
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