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