pub struct StyleTextColor(pub ColorU);
Expand description
Represents a color
attribute
Tuple Fields§
§0: ColorU
Trait Implementations§
Source§impl Clone for StyleTextColor
impl Clone for StyleTextColor
Source§fn clone(&self) -> StyleTextColor
fn clone(&self) -> StyleTextColor
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 StyleTextColor
impl Debug for StyleTextColor
Source§impl Display for StyleTextColor
impl Display for StyleTextColor
Source§impl From<StyleTextColor> for CssProperty
impl From<StyleTextColor> for CssProperty
Source§fn from(e: StyleTextColor) -> Self
fn from(e: StyleTextColor) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleTextColor
impl Hash for StyleTextColor
Source§impl Ord for StyleTextColor
impl Ord for StyleTextColor
Source§fn cmp(&self, other: &StyleTextColor) -> Ordering
fn cmp(&self, other: &StyleTextColor) -> 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 StyleTextColor
impl PartialEq for StyleTextColor
Source§impl PartialOrd for StyleTextColor
impl PartialOrd for StyleTextColor
impl Copy for StyleTextColor
impl Eq for StyleTextColor
impl StructuralPartialEq for StyleTextColor
Auto Trait Implementations§
impl Freeze for StyleTextColor
impl RefUnwindSafe for StyleTextColor
impl Send for StyleTextColor
impl Sync for StyleTextColor
impl Unpin for StyleTextColor
impl UnwindSafe for StyleTextColor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)