pub struct GetModeRes {
pub mode: String,
pub blocking: bool,
}Available on crate feature
unstable only.Expand description
Result struct for vim.api.nvim_get_mode
Fields§
§mode: String§blocking: boolTrait Implementations§
Source§impl Clone for GetModeRes
Available on crate feature vim only.
impl Clone for GetModeRes
Available on crate feature
vim only.Source§fn clone(&self) -> GetModeRes
fn clone(&self) -> GetModeRes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GetModeRes
Available on crate feature vim only.
impl<'de> Deserialize<'de> for GetModeRes
Available on crate feature
vim only.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