Enum nvim_oxi::types::WindowBorderChar
source · [−]#[non_exhaustive]
pub enum WindowBorderChar {
Char(Option<char>),
CharAndHlGroup(Option<char>, String),
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Char(Option<char>)
CharAndHlGroup(Option<char>, String)
Trait Implementations
sourceimpl Clone for WindowBorderChar
impl Clone for WindowBorderChar
sourcefn clone(&self) -> WindowBorderChar
fn clone(&self) -> WindowBorderChar
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
sourceimpl Debug for WindowBorderChar
impl Debug for WindowBorderChar
sourceimpl<'de> Deserialize<'de> for WindowBorderChar
impl<'de> Deserialize<'de> for WindowBorderChar
sourcefn 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
sourceimpl From<Option<char>> for WindowBorderChar
impl From<Option<char>> for WindowBorderChar
sourceimpl From<WindowBorderChar> for Object
impl From<WindowBorderChar> for Object
sourcefn from(side: WindowBorderChar) -> Self
fn from(side: WindowBorderChar) -> Self
Converts to this type from the input type.
sourceimpl From<char> for WindowBorderChar
impl From<char> for WindowBorderChar
sourceimpl Hash for WindowBorderChar
impl Hash for WindowBorderChar
sourceimpl PartialEq<WindowBorderChar> for WindowBorderChar
impl PartialEq<WindowBorderChar> for WindowBorderChar
sourcefn eq(&self, other: &WindowBorderChar) -> bool
fn eq(&self, other: &WindowBorderChar) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &WindowBorderChar) -> bool
fn ne(&self, other: &WindowBorderChar) -> bool
This method tests for !=.
impl Eq for WindowBorderChar
impl StructuralEq for WindowBorderChar
impl StructuralPartialEq for WindowBorderChar
Auto Trait Implementations
impl RefUnwindSafe for WindowBorderChar
impl Send for WindowBorderChar
impl Sync for WindowBorderChar
impl Unpin for WindowBorderChar
impl UnwindSafe for WindowBorderChar
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