#[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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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<WindowBorderChar, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<WindowBorderChar, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<S> From<(char, S)> for WindowBorderCharwhere
S: AsRef<str>,
impl<S> From<(char, S)> for WindowBorderCharwhere
S: AsRef<str>,
sourcefn from((char, S)) -> WindowBorderChar
fn from((char, S)) -> WindowBorderChar
Converts to this type from the input type.
sourceimpl From<Option<char>> for WindowBorderChar
impl From<Option<char>> for WindowBorderChar
sourcefn from(maybe: Option<char>) -> WindowBorderChar
fn from(maybe: Option<char>) -> WindowBorderChar
Converts to this type from the input type.
sourceimpl From<WindowBorderChar> for Object
impl From<WindowBorderChar> for Object
sourcefn from(side: WindowBorderChar) -> Object
fn from(side: WindowBorderChar) -> Object
Converts to this type from the input type.
sourceimpl From<char> for WindowBorderChar
impl From<char> for WindowBorderChar
sourcefn from(ch: char) -> WindowBorderChar
fn from(ch: char) -> WindowBorderChar
Converts to this type from the input type.
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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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