Struct nvim_oxi::opts::SetKeymapOptsBuilder
source · [−]pub struct SetKeymapOptsBuilder { /* private fields */ }Expand description
Builder for SetKeymapOpts.
Implementations
sourceimpl SetKeymapOptsBuilder
impl SetKeymapOptsBuilder
sourcepub fn noremap(&mut self, value: bool) -> &mut Self
pub fn noremap(&mut self, value: bool) -> &mut Self
Whether the right-hand side of the mapping shouldn’t be remappable.
sourcepub fn nowait(&mut self, value: bool) -> &mut Self
pub fn nowait(&mut self, value: bool) -> &mut Self
For buffer-local mappings, whether Neovim should wait for more
characters to be typed if there’s a global mapping that could also
match. See :h map-nowait for more details.
Trait Implementations
sourceimpl Clone for SetKeymapOptsBuilder
impl Clone for SetKeymapOptsBuilder
sourcefn clone(&self) -> SetKeymapOptsBuilder
fn clone(&self) -> SetKeymapOptsBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for SetKeymapOptsBuilder
impl !Send for SetKeymapOptsBuilder
impl !Sync for SetKeymapOptsBuilder
impl Unpin for SetKeymapOptsBuilder
impl UnwindSafe for SetKeymapOptsBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more