pub struct PlainEditor {
pub text_editor: TextEditor,
}
Fields§
§text_editor: TextEditor
Implementations§
Source§impl PlainEditor
impl PlainEditor
pub fn proto(cx: &mut Cx) -> Self
pub fn handle_plain_editor( &mut self, cx: &mut Cx, event: &mut Event, text_buffer: &mut TextBuffer, ) -> TextEditorEvent
pub fn draw_plain_editor(&mut self, cx: &mut Cx, text_buffer: &mut TextBuffer)
Trait Implementations§
Source§impl Clone for PlainEditor
impl Clone for PlainEditor
Source§fn clone(&self) -> PlainEditor
fn clone(&self) -> PlainEditor
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 moreAuto Trait Implementations§
impl Freeze for PlainEditor
impl RefUnwindSafe for PlainEditor
impl Send for PlainEditor
impl Sync for PlainEditor
impl Unpin for PlainEditor
impl UnwindSafe for PlainEditor
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