#[repr(C)]pub struct nk_command_rect {
pub header: nk_command,
pub rounding: c_ushort,
pub line_thickness: c_ushort,
pub x: c_short,
pub y: c_short,
pub w: c_ushort,
pub h: c_ushort,
pub color: nk_color,
}
Fields§
§header: nk_command
§rounding: c_ushort
§line_thickness: c_ushort
§x: c_short
§y: c_short
§w: c_ushort
§h: c_ushort
§color: nk_color
Trait Implementations§
Source§impl Clone for nk_command_rect
impl Clone for nk_command_rect
Source§fn clone(&self) -> nk_command_rect
fn clone(&self) -> nk_command_rect
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_rect
impl Default for nk_command_rect
impl Copy for nk_command_rect
Auto Trait Implementations§
impl Freeze for nk_command_rect
impl RefUnwindSafe for nk_command_rect
impl !Send for nk_command_rect
impl !Sync for nk_command_rect
impl Unpin for nk_command_rect
impl UnwindSafe for nk_command_rect
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