#[repr(C, align(4))]pub struct mfxA2RGB10 {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}Expand description
Specifies “pixel” in A2RGB10 color format
Fields§
§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>Implementations§
Source§impl mfxA2RGB10
impl mfxA2RGB10
pub fn B(&self) -> mfxU32
pub fn set_B(&mut self, val: mfxU32)
pub unsafe fn B_raw(this: *const Self) -> mfxU32
pub unsafe fn set_B_raw(this: *mut Self, val: mfxU32)
pub fn G(&self) -> mfxU32
pub fn set_G(&mut self, val: mfxU32)
pub unsafe fn G_raw(this: *const Self) -> mfxU32
pub unsafe fn set_G_raw(this: *mut Self, val: mfxU32)
pub fn R(&self) -> mfxU32
pub fn set_R(&mut self, val: mfxU32)
pub unsafe fn R_raw(this: *const Self) -> mfxU32
pub unsafe fn set_R_raw(this: *mut Self, val: mfxU32)
pub fn A(&self) -> mfxU32
pub fn set_A(&mut self, val: mfxU32)
pub unsafe fn A_raw(this: *const Self) -> mfxU32
pub unsafe fn set_A_raw(this: *mut Self, val: mfxU32)
pub fn new_bitfield_1( B: mfxU32, G: mfxU32, R: mfxU32, A: mfxU32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for mfxA2RGB10
impl Clone for mfxA2RGB10
Source§fn clone(&self) -> mfxA2RGB10
fn clone(&self) -> mfxA2RGB10
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for mfxA2RGB10
Source§impl Debug for mfxA2RGB10
impl Debug for mfxA2RGB10
Source§impl Default for mfxA2RGB10
impl Default for mfxA2RGB10
Source§fn default() -> mfxA2RGB10
fn default() -> mfxA2RGB10
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for mfxA2RGB10
impl RefUnwindSafe for mfxA2RGB10
impl Send for mfxA2RGB10
impl Sync for mfxA2RGB10
impl Unpin for mfxA2RGB10
impl UnsafeUnpin for mfxA2RGB10
impl UnwindSafe for mfxA2RGB10
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