pub struct GetModeRes {
pub mode: String,
pub blocking: bool,
}
Available on crate features
vim
and unstable
only.Expand description
Result struct for vim.api.nvim_get_mode
Fields§
§mode: String
§blocking: bool
Trait Implementations§
Source§impl Clone for GetModeRes
impl Clone for GetModeRes
Source§fn clone(&self) -> GetModeRes
fn clone(&self) -> GetModeRes
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for GetModeRes
impl<'de> Deserialize<'de> for GetModeRes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetModeRes
impl RefUnwindSafe for GetModeRes
impl Send for GetModeRes
impl Sync for GetModeRes
impl Unpin for GetModeRes
impl UnwindSafe for GetModeRes
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