#[repr(C)]pub struct nk_draw_list {Show 15 fields
pub clip_rect: nk_rect,
pub circle_vtx: [nk_vec2; 12],
pub config: nk_convert_config,
pub buffer: *mut nk_buffer,
pub vertices: *mut nk_buffer,
pub elements: *mut nk_buffer,
pub element_count: c_uint,
pub vertex_count: c_uint,
pub cmd_count: c_uint,
pub cmd_offset: nk_size,
pub path_count: c_uint,
pub path_offset: c_uint,
pub line_AA: nk_anti_aliasing,
pub shape_AA: nk_anti_aliasing,
pub userdata: nk_handle,
}Fields§
§clip_rect: nk_rect§circle_vtx: [nk_vec2; 12]§config: nk_convert_config§buffer: *mut nk_buffer§vertices: *mut nk_buffer§elements: *mut nk_buffer§element_count: c_uint§vertex_count: c_uint§cmd_count: c_uint§cmd_offset: nk_size§path_count: c_uint§path_offset: c_uint§line_AA: nk_anti_aliasing§shape_AA: nk_anti_aliasing§userdata: nk_handleTrait Implementations§
Source§impl Clone for nk_draw_list
impl Clone for nk_draw_list
Source§fn clone(&self) -> nk_draw_list
fn clone(&self) -> nk_draw_list
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_draw_list
impl Default for nk_draw_list
impl Copy for nk_draw_list
Auto Trait Implementations§
impl Freeze for nk_draw_list
impl RefUnwindSafe for nk_draw_list
impl !Send for nk_draw_list
impl !Sync for nk_draw_list
impl Unpin for nk_draw_list
impl UnwindSafe for nk_draw_list
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