[−][src]Struct neovim_lib::neovim_api::Buffer
Methods
impl Buffer
[src]
impl Buffer
pub fn new(code_data: Value) -> Buffer | [src] |
pub fn get_value(&self) -> &Value | [src] |
Internal value, that represent type
pub fn line_count(&self, neovim: &mut Neovim) -> Result<i64, CallError> | [src] |
since: 1
pub fn attach( | [src] |
since: 4
pub fn detach(&self, neovim: &mut Neovim) -> Result<bool, CallError> | [src] |
since: 4
pub fn get_lines( | [src] |
since: 1
pub fn set_lines( | [src] |
since: 1
pub fn get_offset( | [src] |
since: 5
pub fn get_var( | [src] |
since: 1
pub fn get_changedtick(&self, neovim: &mut Neovim) -> Result<i64, CallError> | [src] |
since: 2
pub fn get_keymap( | [src] |
since: 3
pub fn get_commands( | [src] |
since: 4
pub fn set_var( | [src] |
since: 1
pub fn del_var(&self, neovim: &mut Neovim, name: &str) -> Result<(), CallError> | [src] |
since: 1
pub fn get_option( | [src] |
since: 1
pub fn set_option( | [src] |
since: 1
pub fn get_number(&self, neovim: &mut Neovim) -> Result<i64, CallError> | [src] |
since: 1
pub fn get_name(&self, neovim: &mut Neovim) -> Result<String, CallError> | [src] |
since: 1
pub fn set_name(&self, neovim: &mut Neovim, name: &str) -> Result<(), CallError> | [src] |
since: 1
pub fn is_loaded(&self, neovim: &mut Neovim) -> Result<bool, CallError> | [src] |
since: 5
pub fn is_valid(&self, neovim: &mut Neovim) -> Result<bool, CallError> | [src] |
since: 1
pub fn get_mark( | [src] |
since: 1
pub fn add_highlight( | [src] |
since: 1
pub fn clear_namespace( | [src] |
since: 5
pub fn clear_highlight( | [src] |
since: 1
pub fn set_virtual_text( | [src] |
since: 5
Trait Implementations
impl PartialEq<Buffer> for Buffer
[src]
impl PartialEq<Buffer> for Buffer
impl Clone for Buffer
[src]
impl Clone for Buffer
fn clone(&self) -> Buffer | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for Buffer
[src]
impl Debug for Buffer
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for 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> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [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> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |