[−][src]Struct mextk_sys::RGB565
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]
r: c_ushort,
g: c_ushort,
b: c_ushort
) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations
impl Clone for RGB565
[src]
fn clone(&self) -> RGB565
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,