pub struct UnderlineStyleSet(/* private fields */);Expand description
A set of underline shapes supported by a terminal.
Implementations§
Source§impl UnderlineStyles
impl UnderlineStyles
pub const SINGLE: UnderlineStyles
pub const DOUBLE: UnderlineStyles
pub const CURLY: UnderlineStyles
pub const DOTTED: UnderlineStyles
pub const DASHED: UnderlineStyles
pub const fn empty() -> UnderlineStyles
pub const fn all() -> UnderlineStyles
pub const fn union(self, other: UnderlineStyles) -> UnderlineStyles
pub const fn contains(self, style: UnderlineStyle) -> bool
Trait Implementations§
Source§impl BitOr for UnderlineStyles
impl BitOr for UnderlineStyles
Source§type Output = UnderlineStyles
type Output = UnderlineStyles
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: UnderlineStyles) -> <UnderlineStyles as BitOr>::Output
fn bitor(self, rhs: UnderlineStyles) -> <UnderlineStyles as BitOr>::Output
Performs the
| operation. Read moreSource§impl Clone for UnderlineStyles
impl Clone for UnderlineStyles
Source§fn clone(&self) -> UnderlineStyles
fn clone(&self) -> UnderlineStyles
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 moreSource§impl Debug for UnderlineStyles
impl Debug for UnderlineStyles
Source§impl Default for UnderlineStyles
impl Default for UnderlineStyles
Source§fn default() -> UnderlineStyles
fn default() -> UnderlineStyles
Returns the “default value” for a type. Read more
Source§impl Hash for UnderlineStyles
impl Hash for UnderlineStyles
Source§impl PartialEq for UnderlineStyles
impl PartialEq for UnderlineStyles
Source§fn eq(&self, other: &UnderlineStyles) -> bool
fn eq(&self, other: &UnderlineStyles) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnderlineStyles
impl Eq for UnderlineStyles
impl StructuralPartialEq for UnderlineStyles
Auto Trait Implementations§
impl Freeze for UnderlineStyles
impl RefUnwindSafe for UnderlineStyles
impl Send for UnderlineStyles
impl Sync for UnderlineStyles
impl Unpin for UnderlineStyles
impl UnsafeUnpin for UnderlineStyles
impl UnwindSafe for UnderlineStyles
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