DevText

Struct DevText 

Source
#[repr(C)]
pub struct DevText {
Show 27 fields pub x0: c_int, pub x4: c_int, pub x8: c_int, pub xc: c_int, pub bg_color: GXColor, pub x14: c_int, pub x18: c_int, pub x1c: c_int, pub x20: c_int, pub x24: c_char, pub x25: c_char, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub x27: c_char, pub x28: c_int, pub x2c: c_int, pub next: *mut DevText, pub x34: c_int, pub x38: c_int, pub x3c: c_int, pub x40: c_int, pub x44: c_int, pub x48: c_int, pub x4c: c_int, pub x50: c_int, pub x54: c_int, pub x58: c_int, pub x5c: c_int,
}
Expand description

Structs

Fields§

§x0: c_int§x4: c_int§x8: c_int§xc: c_int§bg_color: GXColor§x14: c_int§x18: c_int§x1c: c_int§x20: c_int§x24: c_char§x25: c_char§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§x27: c_char§x28: c_int§x2c: c_int§next: *mut DevText§x34: c_int§x38: c_int§x3c: c_int§x40: c_int§x44: c_int§x48: c_int§x4c: c_int§x50: c_int§x54: c_int§x58: c_int§x5c: c_int

Implementations§

Source§

impl DevText

Source

pub fn show_text(&self) -> c_char

Source

pub fn set_show_text(&mut self, val: c_char)

Source

pub fn show_background(&self) -> c_char

Source

pub fn set_show_background(&mut self, val: c_char)

Source

pub fn show_cursor(&self) -> c_char

Source

pub fn set_show_cursor(&mut self, val: c_char)

Source

pub fn new_bitfield_1( show_text: c_char, show_background: c_char, show_cursor: c_char, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Trait Implementations§

Source§

impl Clone for DevText

Source§

fn clone(&self) -> DevText

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DevText

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for DevText

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.