#[repr(C)]#[repr(align(2))]pub struct RGB15 {
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 RGB15
impl RGB15
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 alpha(&self) -> UINT16
pub fn set_alpha(&mut self, val: UINT16)
pub fn new_bitfield_1( blue: UINT16, green: UINT16, red: UINT16, alpha: UINT16 ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RGB15
impl Send for RGB15
impl Sync for RGB15
impl Unpin for RGB15
impl UnwindSafe for RGB15
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