#[repr(C)]pub struct StyleLineHeight {
pub inner: PercentageValue,
}Expand description
Represents a line-height attribute
Fields§
§inner: PercentageValueImplementations§
Trait Implementations§
Source§impl Clone for StyleLineHeight
impl Clone for StyleLineHeight
Source§fn clone(&self) -> StyleLineHeight
fn clone(&self) -> StyleLineHeight
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 StyleLineHeight
impl Debug for StyleLineHeight
Source§impl Default for StyleLineHeight
impl Default for StyleLineHeight
Source§impl Display for StyleLineHeight
impl Display for StyleLineHeight
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
Source§impl PrintAsCssValue for StyleLineHeight
impl PrintAsCssValue for StyleLineHeight
fn print_as_css_value(&self) -> String
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