Struct nvim_oxi_api::opts::SetKeymapOpts
source · #[repr(C)]pub struct SetKeymapOpts { /* private fields */ }Expand description
Options passed to Buffer::set_keymap()
and set_keymap().
Implementations§
source§impl SetKeymapOpts
impl SetKeymapOpts
sourcepub fn builder() -> SetKeymapOptsBuilder
pub fn builder() -> SetKeymapOptsBuilder
Creates a new SetKeymapOptsBuilder.
Trait Implementations§
source§impl Clone for SetKeymapOpts
impl Clone for SetKeymapOpts
source§fn clone(&self) -> SetKeymapOpts
fn clone(&self) -> SetKeymapOpts
Returns a copy 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 Debug for SetKeymapOpts
impl Debug for SetKeymapOpts
source§impl Default for SetKeymapOpts
impl Default for SetKeymapOpts
source§fn default() -> SetKeymapOpts
fn default() -> SetKeymapOpts
Returns the “default value” for a type. Read more
source§impl PartialEq for SetKeymapOpts
impl PartialEq for SetKeymapOpts
source§fn eq(&self, other: &SetKeymapOpts) -> bool
fn eq(&self, other: &SetKeymapOpts) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SetKeymapOpts
Auto Trait Implementations§
impl Freeze for SetKeymapOpts
impl RefUnwindSafe for SetKeymapOpts
impl !Send for SetKeymapOpts
impl !Sync for SetKeymapOpts
impl Unpin for SetKeymapOpts
impl UnwindSafe for SetKeymapOpts
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
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.