pub enum BorderColor {
TransparentBlack,
OpaqueBlack,
OpaqueWhite,
}
Expand description
The border color for WrapMode::Border
wrap mode.
Variants§
Trait Implementations§
Source§impl Clone for BorderColor
impl Clone for BorderColor
Source§fn clone(&self) -> BorderColor
fn clone(&self) -> BorderColor
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 BorderColor
impl Debug for BorderColor
Source§impl Hash for BorderColor
impl Hash for BorderColor
Source§impl Ord for BorderColor
impl Ord for BorderColor
Source§fn cmp(&self, other: &BorderColor) -> Ordering
fn cmp(&self, other: &BorderColor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BorderColor
impl PartialEq for BorderColor
Source§impl PartialOrd for BorderColor
impl PartialOrd for BorderColor
impl Copy for BorderColor
impl Eq for BorderColor
impl StructuralPartialEq for BorderColor
Auto Trait Implementations§
impl Freeze for BorderColor
impl RefUnwindSafe for BorderColor
impl Send for BorderColor
impl Sync for BorderColor
impl Unpin for BorderColor
impl UnwindSafe for BorderColor
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