pub struct SetKeymapOptsBuilder { /* private fields */ }
Expand description
Builder for SetKeymapOpts
.
Implementations§
Source§impl 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§
Source§impl Clone for SetKeymapOptsBuilder
impl Clone for SetKeymapOptsBuilder
Source§fn clone(&self) -> SetKeymapOptsBuilder
fn clone(&self) -> SetKeymapOptsBuilder
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 moreAuto Trait Implementations§
impl Freeze for SetKeymapOptsBuilder
impl RefUnwindSafe for SetKeymapOptsBuilder
impl !Send for SetKeymapOptsBuilder
impl !Sync for SetKeymapOptsBuilder
impl Unpin for SetKeymapOptsBuilder
impl UnwindSafe for SetKeymapOptsBuilder
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