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