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