#[repr(C)]pub struct nk_command_polygon {
pub header: nk_command,
pub color: nk_color,
pub line_thickness: c_ushort,
pub point_count: c_ushort,
pub points: [nk_vec2i; 1],
}Fields§
§header: nk_command§color: nk_color§line_thickness: c_ushort§point_count: c_ushort§points: [nk_vec2i; 1]Trait Implementations§
Source§impl Clone for nk_command_polygon
impl Clone for nk_command_polygon
Source§fn clone(&self) -> nk_command_polygon
fn clone(&self) -> nk_command_polygon
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_polygon
impl Default for nk_command_polygon
impl Copy for nk_command_polygon
Auto Trait Implementations§
impl Freeze for nk_command_polygon
impl RefUnwindSafe for nk_command_polygon
impl !Send for nk_command_polygon
impl !Sync for nk_command_polygon
impl Unpin for nk_command_polygon
impl UnwindSafe for nk_command_polygon
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