pub struct AdvancedCodeEditor { /* private fields */ }Implementations§
Source§impl AdvancedCodeEditor
impl AdvancedCodeEditor
pub fn new(code: String) -> AdvancedCodeEditor
pub fn language(self, language: String) -> AdvancedCodeEditor
pub fn theme(self, theme: String) -> AdvancedCodeEditor
pub fn line_numbers(self, show: bool) -> AdvancedCodeEditor
pub fn minimap(self, show: bool) -> AdvancedCodeEditor
pub fn autocomplete(self, enable: bool) -> AdvancedCodeEditor
Trait Implementations§
Source§impl Renderable for AdvancedCodeEditor
impl Renderable for AdvancedCodeEditor
Auto Trait Implementations§
impl Freeze for AdvancedCodeEditor
impl RefUnwindSafe for AdvancedCodeEditor
impl Send for AdvancedCodeEditor
impl Sync for AdvancedCodeEditor
impl Unpin for AdvancedCodeEditor
impl UnwindSafe for AdvancedCodeEditor
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