[][src]Struct mextk_sys::RGB565

#[repr(C)]
#[repr(align(2))]pub struct RGB565 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>

Implementations

impl RGB565[src]

pub fn r(&self) -> c_ushort[src]

pub fn set_r(&mut self, val: c_ushort)[src]

pub fn g(&self) -> c_ushort[src]

pub fn set_g(&mut self, val: c_ushort)[src]

pub fn b(&self) -> c_ushort[src]

pub fn set_b(&mut self, val: c_ushort)[src]

pub fn new_bitfield_1(
    r: c_ushort,
    g: c_ushort,
    b: c_ushort
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for RGB565[src]

impl Copy for RGB565[src]

impl Debug for RGB565[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.