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