#[repr(C)]pub struct TextEdit { /* private fields */ }
Implementations§
Source§impl TextEdit
impl TextEdit
pub fn init(&mut self, arg2: &mut Allocator, size: Size)
pub fn text(&mut self, arg2: &str)
pub fn delete(&mut self, where_: u32, len: u32)
pub fn delete_selection(&mut self)
pub fn select_all(&mut self)
pub fn cut(&mut self) -> bool
pub fn paste(&mut self, arg2: &str) -> bool
pub fn undo(&mut self)
pub fn redo(&mut self)
Trait Implementations§
Source§impl AsMut<TextEdit> for nk_text_edit
impl AsMut<TextEdit> for nk_text_edit
Source§impl AsMut<nk_text_edit> for TextEdit
impl AsMut<nk_text_edit> for TextEdit
Source§fn as_mut(&mut self) -> &mut nk_text_edit
fn as_mut(&mut self) -> &mut nk_text_edit
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<TextEdit> for nk_text_edit
impl AsRef<TextEdit> for nk_text_edit
Source§impl AsRef<nk_text_edit> for TextEdit
impl AsRef<nk_text_edit> for TextEdit
Source§fn as_ref(&self) -> &nk_text_edit
fn as_ref(&self) -> &nk_text_edit
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for TextEdit
impl RefUnwindSafe for TextEdit
impl !Send for TextEdit
impl !Sync for TextEdit
impl Unpin for TextEdit
impl UnwindSafe for TextEdit
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