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