pub struct StyleBorderTopColor(pub ColorU);
Expand description
Represents a border-top-width
attribute
Tuple Fields§
§0: ColorU
Trait Implementations§
Source§impl Clone for StyleBorderTopColor
impl Clone for StyleBorderTopColor
Source§fn clone(&self) -> StyleBorderTopColor
fn clone(&self) -> StyleBorderTopColor
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 StyleBorderTopColor
impl Debug for StyleBorderTopColor
Source§impl Default for StyleBorderTopColor
impl Default for StyleBorderTopColor
Source§fn default() -> StyleBorderTopColor
fn default() -> StyleBorderTopColor
Returns the “default value” for a type. Read more
Source§impl Display for StyleBorderTopColor
impl Display for StyleBorderTopColor
Source§impl From<StyleBorderTopColor> for CssProperty
impl From<StyleBorderTopColor> for CssProperty
Source§fn from(e: StyleBorderTopColor) -> Self
fn from(e: StyleBorderTopColor) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleBorderTopColor
impl Hash for StyleBorderTopColor
Source§impl Ord for StyleBorderTopColor
impl Ord for StyleBorderTopColor
Source§fn cmp(&self, other: &StyleBorderTopColor) -> Ordering
fn cmp(&self, other: &StyleBorderTopColor) -> 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 StyleBorderTopColor
impl PartialEq for StyleBorderTopColor
Source§impl PartialOrd for StyleBorderTopColor
impl PartialOrd for StyleBorderTopColor
impl Copy for StyleBorderTopColor
impl Eq for StyleBorderTopColor
impl StructuralPartialEq for StyleBorderTopColor
Auto Trait Implementations§
impl Freeze for StyleBorderTopColor
impl RefUnwindSafe for StyleBorderTopColor
impl Send for StyleBorderTopColor
impl Sync for StyleBorderTopColor
impl Unpin for StyleBorderTopColor
impl UnwindSafe for StyleBorderTopColor
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
)