#[repr(C, align(2))]pub struct RGB16 {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
Implementations§
source§impl RGB16
impl RGB16
pub fn blue(&self) -> UINT16
pub fn set_blue(&mut self, val: UINT16)
pub fn green(&self) -> UINT16
pub fn set_green(&mut self, val: UINT16)
pub fn red(&self) -> UINT16
pub fn set_red(&mut self, val: UINT16)
pub fn new_bitfield_1( blue: UINT16, green: UINT16, red: UINT16 ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RGB16
impl RefUnwindSafe for RGB16
impl Send for RGB16
impl Sync for RGB16
impl Unpin for RGB16
impl UnwindSafe for RGB16
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