#[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.
Trait Implementations§
Source§impl Clone for WindowBorderChar
impl Clone for WindowBorderChar
Source§fn clone(&self) -> WindowBorderChar
fn clone(&self) -> WindowBorderChar
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 moreSource§impl Debug for WindowBorderChar
impl Debug for WindowBorderChar
Source§impl<'de> Deserialize<'de> for WindowBorderChar
impl<'de> Deserialize<'de> for WindowBorderChar
Source§fn 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
Source§impl From<WindowBorderChar> for Object
impl From<WindowBorderChar> for Object
Source§fn from(side: WindowBorderChar) -> Self
fn from(side: WindowBorderChar) -> Self
Converts to this type from the input type.
Source§impl From<char> for WindowBorderChar
impl From<char> for WindowBorderChar
Source§impl Hash for WindowBorderChar
impl Hash for WindowBorderChar
Source§impl PartialEq for WindowBorderChar
impl PartialEq for WindowBorderChar
impl Eq for WindowBorderChar
impl StructuralPartialEq for WindowBorderChar
Auto Trait Implementations§
impl Freeze for WindowBorderChar
impl RefUnwindSafe for WindowBorderChar
impl Send for WindowBorderChar
impl Sync for WindowBorderChar
impl Unpin for WindowBorderChar
impl UnwindSafe for WindowBorderChar
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