pub enum DisplayTextStyle {
Regular,
Emphasis,
}
Expand description
A style for the DisplayTextFragment
which can be visually formatted.
This information may be used to emphasis parts of the label.
Variants§
Trait Implementations§
source§impl Clone for DisplayTextStyle
impl Clone for DisplayTextStyle
source§fn clone(&self) -> DisplayTextStyle
fn clone(&self) -> DisplayTextStyle
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 DisplayTextStyle
impl Debug for DisplayTextStyle
source§impl PartialEq for DisplayTextStyle
impl PartialEq for DisplayTextStyle
source§fn eq(&self, other: &DisplayTextStyle) -> bool
fn eq(&self, other: &DisplayTextStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayTextStyle
impl StructuralPartialEq for DisplayTextStyle
Auto Trait Implementations§
impl RefUnwindSafe for DisplayTextStyle
impl Send for DisplayTextStyle
impl Sync for DisplayTextStyle
impl Unpin for DisplayTextStyle
impl UnwindSafe for DisplayTextStyle
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