#[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_command§font: *const nk_user_font§background: nk_color§foreground: nk_color§x: c_short§y: c_short§w: c_ushort§h: c_ushort§height: f32§length: c_int§string: [c_char; 1]Trait Implementations§
Source§impl Clone for nk_command_text
impl Clone for nk_command_text
Source§fn clone(&self) -> nk_command_text
fn clone(&self) -> nk_command_text
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for nk_command_text
impl Default for nk_command_text
impl Copy for nk_command_text
Auto Trait Implementations§
impl Freeze for nk_command_text
impl RefUnwindSafe for nk_command_text
impl !Send for nk_command_text
impl !Sync for nk_command_text
impl Unpin for nk_command_text
impl UnwindSafe for nk_command_text
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more