#[repr(C)]pub struct nk_text_edit {Show 16 fields
pub clip: nk_clipboard,
pub string: nk_str,
pub filter: nk_plugin_filter,
pub scrollbar: nk_vec2,
pub cursor: c_int,
pub select_start: c_int,
pub select_end: c_int,
pub mode: c_uchar,
pub cursor_at_end_of_line: c_uchar,
pub initialized: c_uchar,
pub has_preferred_x: c_uchar,
pub single_line: c_uchar,
pub active: c_uchar,
pub padding1: c_uchar,
pub preferred_x: f32,
pub undo: nk_text_undo_state,
}Fields§
§clip: nk_clipboard§string: nk_str§filter: nk_plugin_filter§scrollbar: nk_vec2§cursor: c_int§select_start: c_int§select_end: c_int§mode: c_uchar§cursor_at_end_of_line: c_uchar§initialized: c_uchar§has_preferred_x: c_uchar§single_line: c_uchar§active: c_uchar§padding1: c_uchar§preferred_x: f32§undo: nk_text_undo_stateTrait Implementations§
Source§impl Clone for nk_text_edit
impl Clone for nk_text_edit
Source§fn clone(&self) -> nk_text_edit
fn clone(&self) -> nk_text_edit
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_text_edit
impl Default for nk_text_edit
impl Copy for nk_text_edit
Auto Trait Implementations§
impl Freeze for nk_text_edit
impl RefUnwindSafe for nk_text_edit
impl !Send for nk_text_edit
impl !Sync for nk_text_edit
impl Unpin for nk_text_edit
impl UnwindSafe for nk_text_edit
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