[][src]Struct nuklear_sys::nk_command_text

#[repr(C)]
pub struct nk_command_text {
    pub header: nk_command,
    pub font: *const nk_user_font,
    pub background: nk_color,
    pub foreground: nk_color,
    pub x: c_short,
    pub y: c_short,
    pub w: c_ushort,
    pub h: c_ushort,
    pub height: f32,
    pub length: c_int,
    pub string: [c_char; 1],
}

Fields

header: nk_commandfont: *const nk_user_fontbackground: nk_colorforeground: nk_colorx: c_shorty: c_shortw: c_ushorth: c_ushortheight: f32length: c_intstring: [c_char; 1]

Trait Implementations

impl Clone for nk_command_text[src]

impl Copy for nk_command_text[src]

impl Default for nk_command_text[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.