#[repr(C)]pub struct nk_context {Show 22 fields
pub input: nk_input,
pub style: nk_style,
pub memory: nk_buffer,
pub clip: nk_clipboard,
pub last_widget_state: nk_flags,
pub button_behavior: nk_button_behavior,
pub stacks: nk_configuration_stacks,
pub delta_time_seconds: f32,
pub draw_list: nk_draw_list,
pub userdata: nk_handle,
pub text_edit: nk_text_edit,
pub overlay: nk_command_buffer,
pub build: c_int,
pub use_pool: c_int,
pub pool: nk_pool,
pub begin: *mut nk_window,
pub end: *mut nk_window,
pub active: *mut nk_window,
pub current: *mut nk_window,
pub freelist: *mut nk_page_element,
pub count: c_uint,
pub seq: c_uint,
}Fields§
§input: nk_input§style: nk_style§memory: nk_buffer§clip: nk_clipboard§last_widget_state: nk_flags§stacks: nk_configuration_stacks§delta_time_seconds: f32§draw_list: nk_draw_list§userdata: nk_handle§text_edit: nk_text_edit§overlay: nk_command_buffer§build: c_int§use_pool: c_int§pool: nk_pool§begin: *mut nk_window§end: *mut nk_window§active: *mut nk_window§current: *mut nk_window§freelist: *mut nk_page_element§count: c_uint§seq: c_uintTrait Implementations§
Source§impl Clone for nk_context
impl Clone for nk_context
Source§fn clone(&self) -> nk_context
fn clone(&self) -> nk_context
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_context
impl Default for nk_context
impl Copy for nk_context
Auto Trait Implementations§
impl Freeze for nk_context
impl RefUnwindSafe for nk_context
impl !Send for nk_context
impl !Sync for nk_context
impl Unpin for nk_context
impl UnwindSafe for nk_context
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