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