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