Struct nuklear::CommandText [−][src]
#[repr(C)]pub struct CommandText { /* fields omitted */ }
Methods
impl CommandText
[src]
impl CommandText
impl CommandText
[src]
impl CommandText
pub fn x(&self) -> i16
[src]
pub fn x(&self) -> i16
pub fn y(&self) -> i16
[src]
pub fn y(&self) -> i16
pub fn w(&self) -> u16
[src]
pub fn w(&self) -> u16
pub fn h(&self) -> u16
[src]
pub fn h(&self) -> u16
pub fn height(&self) -> f32
[src]
pub fn height(&self) -> f32
pub fn chars(&self) -> &[u8]
[src]
pub fn chars(&self) -> &[u8]
pub fn background(&self) -> Color
[src]
pub fn background(&self) -> Color
pub fn foreground(&self) -> Color
[src]
pub fn foreground(&self) -> Color
pub fn font(&self) -> &UserFont
[src]
pub fn font(&self) -> &UserFont
Trait Implementations
impl Clone for CommandText
[src]
impl Clone for CommandText
fn clone(&self) -> CommandText
[src]
fn clone(&self) -> CommandText
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CommandText
[src]
impl Debug for CommandText
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl AsRef<nk_command_text> for CommandText
[src]
impl AsRef<nk_command_text> for CommandText
fn as_ref(&self) -> &nk_command_text
[src]
fn as_ref(&self) -> &nk_command_text
Performs the conversion.
impl AsMut<nk_command_text> for CommandText
[src]
impl AsMut<nk_command_text> for CommandText
fn as_mut(&mut self) -> &mut nk_command_text
[src]
fn as_mut(&mut self) -> &mut nk_command_text
Performs the conversion.
impl AsRef<CommandText> for nk_command_text
[src]
impl AsRef<CommandText> for nk_command_text
fn as_ref(&self) -> &CommandText
[src]
fn as_ref(&self) -> &CommandText
Performs the conversion.
impl AsMut<CommandText> for nk_command_text
[src]
impl AsMut<CommandText> for nk_command_text
fn as_mut(&mut self) -> &mut CommandText
[src]
fn as_mut(&mut self) -> &mut CommandText
Performs the conversion.
impl Default for CommandText
[src]
impl Default for CommandText
impl AsRef<CommandText> for Command
[src]
impl AsRef<CommandText> for Command
fn as_ref(&self) -> &CommandText
[src]
fn as_ref(&self) -> &CommandText
Performs the conversion.
Auto Trait Implementations
impl !Send for CommandText
impl !Send for CommandText
impl !Sync for CommandText
impl !Sync for CommandText