[][src]Struct nuklear::CommandText

#[repr(C)]pub struct CommandText { /* fields omitted */ }

Implementations

impl CommandText[src]

pub fn header(&self) -> &Command[src]

impl CommandText[src]

pub fn x(&self) -> i16[src]

pub fn y(&self) -> i16[src]

pub fn w(&self) -> u16[src]

pub fn h(&self) -> u16[src]

pub fn height(&self) -> f32[src]

pub fn chars(&self) -> &[u8][src]

pub fn background(&self) -> Color[src]

pub fn foreground(&self) -> Color[src]

pub fn font(&self) -> &UserFont[src]

Trait Implementations

impl AsMut<CommandText> for nk_command_text[src]

impl AsMut<nk_command_text> for CommandText[src]

impl AsRef<CommandText> for nk_command_text[src]

impl AsRef<CommandText> for Command[src]

impl AsRef<nk_command_text> for CommandText[src]

impl Clone for CommandText[src]

impl Default for CommandText[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.