[−][src]Struct accepted::Buffer
Fields
core: Core
search: Vec<char>
syntax_parent: &'a SyntaxParent
syntax: Syntax<'a>
snippet: BTreeMap<String, String>
yank: Yank
last_save: Id
lsp: Option<LSPClient>
Methods
impl<'a> Buffer<'a>
[src]
impl<'a> Buffer<'a>
pub fn new(syntax_parent: &'a SyntaxParent) -> Self | [src] |
pub fn extend_cache_duration(&mut self, duration: Duration) | [src] |
pub fn restart_lsp(&mut self) | [src] |
pub fn set_language(&mut self, extension: &str) | [src] |
pub fn language(&self) -> &dyn Language | [src] |
pub fn indent(&mut self) | [src] |
pub fn path(&self) -> Option<&Path> | [src] |
pub fn set_path(&mut self, path: PathBuf) | [src] |
pub fn open<P: AsRef<Path>>(&mut self, path: P) | [src] |
pub fn save(&mut self, is_optimize: bool) -> bool | [src] |
pub fn show_cursor(&mut self) | [src] |
pub fn scroll_up(&mut self) | [src] |
pub fn scroll_down(&mut self) | [src] |
pub fn show_cursor_middle(&mut self) | [src] |
pub fn format(&mut self) | [src] |
pub fn compile(&mut self, is_optimize: bool) | [src] |
pub fn last_compile_success(&self) -> Option<bool> | [src] |
pub fn compiler_message_on_cursor(&self) -> Option<&str> | [src] |
pub fn poll_compile_message(&mut self) | [src] |
pub fn wait_compile_message(&mut self) | [src] |
pub fn is_compiling(&self) -> bool | [src] |
pub fn draw(&mut self, view: View) -> Option<Cursor> | [src] |
pub fn draw_with_selected( | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |