pub enum CompoundLine {
Single,
Double,
ThickThin,
ThinThick,
Triple,
}Expand description
This simple type specifies the compound line type that is to be used for lines with text such as underlines.
Variants§
Single
Single line: one normal width
Double
Double lines of equal width
ThickThin
Double lines: one thick, one thin
ThinThick
Double lines: one thin, one thick
Triple
Three lines: thin, thick, thin
Trait Implementations§
Source§impl Clone for CompoundLine
impl Clone for CompoundLine
Source§fn clone(&self) -> CompoundLine
fn clone(&self) -> CompoundLine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompoundLine
Source§impl Debug for CompoundLine
impl Debug for CompoundLine
Source§impl FromStr for CompoundLine
impl FromStr for CompoundLine
Source§impl PartialEq for CompoundLine
impl PartialEq for CompoundLine
Source§fn eq(&self, other: &CompoundLine) -> bool
fn eq(&self, other: &CompoundLine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompoundLine
Auto Trait Implementations§
impl Freeze for CompoundLine
impl RefUnwindSafe for CompoundLine
impl Send for CompoundLine
impl Sync for CompoundLine
impl Unpin for CompoundLine
impl UnsafeUnpin for CompoundLine
impl UnwindSafe for CompoundLine
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