pub struct StyleBorderWidths {
pub top: PixelValue,
pub right: PixelValue,
pub bottom: PixelValue,
pub left: PixelValue,
}Expand description
Parsed result of border-width shorthand (1-4 width values)
Fields§
§top: PixelValue§right: PixelValue§bottom: PixelValue§left: PixelValueTrait Implementations§
Source§impl Clone for StyleBorderWidths
impl Clone for StyleBorderWidths
Source§fn clone(&self) -> StyleBorderWidths
fn clone(&self) -> StyleBorderWidths
Returns a duplicate 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 StyleBorderWidths
impl Debug for StyleBorderWidths
Source§impl Hash for StyleBorderWidths
impl Hash for StyleBorderWidths
Source§impl Ord for StyleBorderWidths
impl Ord for StyleBorderWidths
Source§fn cmp(&self, other: &StyleBorderWidths) -> Ordering
fn cmp(&self, other: &StyleBorderWidths) -> 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 StyleBorderWidths
impl PartialEq for StyleBorderWidths
Source§impl PartialOrd for StyleBorderWidths
impl PartialOrd for StyleBorderWidths
impl Copy for StyleBorderWidths
impl Eq for StyleBorderWidths
impl StructuralPartialEq for StyleBorderWidths
Auto Trait Implementations§
impl Freeze for StyleBorderWidths
impl RefUnwindSafe for StyleBorderWidths
impl Send for StyleBorderWidths
impl Sync for StyleBorderWidths
impl Unpin for StyleBorderWidths
impl UnwindSafe for StyleBorderWidths
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