Struct nuklear::CommandText [−][src]
#[repr(C)]pub struct CommandText { /* fields omitted */ }
Methods
impl CommandText[src]
impl CommandTextimpl CommandText[src]
impl CommandTextpub fn x(&self) -> i16[src]
pub fn x(&self) -> i16pub fn y(&self) -> i16[src]
pub fn y(&self) -> i16pub fn w(&self) -> u16[src]
pub fn w(&self) -> u16pub fn h(&self) -> u16[src]
pub fn h(&self) -> u16pub fn height(&self) -> f32[src]
pub fn height(&self) -> f32pub fn chars(&self) -> &[u8][src]
pub fn chars(&self) -> &[u8]pub fn background(&self) -> Color[src]
pub fn background(&self) -> Colorpub fn foreground(&self) -> Color[src]
pub fn foreground(&self) -> Colorpub fn font(&self) -> &UserFont[src]
pub fn font(&self) -> &UserFontTrait Implementations
impl Clone for CommandText[src]
impl Clone for CommandTextfn clone(&self) -> CommandText[src]
fn clone(&self) -> CommandTextReturns 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 CommandTextfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl AsRef<nk_command_text> for CommandText[src]
impl AsRef<nk_command_text> for CommandTextfn as_ref(&self) -> &nk_command_text[src]
fn as_ref(&self) -> &nk_command_textPerforms the conversion.
impl AsMut<nk_command_text> for CommandText[src]
impl AsMut<nk_command_text> for CommandTextfn as_mut(&mut self) -> &mut nk_command_text[src]
fn as_mut(&mut self) -> &mut nk_command_textPerforms the conversion.
impl AsRef<CommandText> for nk_command_text[src]
impl AsRef<CommandText> for nk_command_textfn as_ref(&self) -> &CommandText[src]
fn as_ref(&self) -> &CommandTextPerforms the conversion.
impl AsMut<CommandText> for nk_command_text[src]
impl AsMut<CommandText> for nk_command_textfn as_mut(&mut self) -> &mut CommandText[src]
fn as_mut(&mut self) -> &mut CommandTextPerforms the conversion.
impl Default for CommandText[src]
impl Default for CommandTextimpl AsRef<CommandText> for Command[src]
impl AsRef<CommandText> for Commandfn as_ref(&self) -> &CommandText[src]
fn as_ref(&self) -> &CommandTextPerforms the conversion.
Auto Trait Implementations
impl !Send for CommandText
impl !Send for CommandTextimpl !Sync for CommandText
impl !Sync for CommandText