pub enum LineHeightValue {
Normal(f32),
Px(f32),
}
Variants§
Trait Implementations§
source§impl Clone for LineHeightValue
impl Clone for LineHeightValue
source§fn clone(&self) -> LineHeightValue
fn clone(&self) -> LineHeightValue
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 LineHeightValue
impl Debug for LineHeightValue
source§impl PartialEq for LineHeightValue
impl PartialEq for LineHeightValue
source§fn eq(&self, other: &LineHeightValue) -> bool
fn eq(&self, other: &LineHeightValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LineHeightValue
impl StructuralPartialEq for LineHeightValue
Auto Trait Implementations§
impl Freeze for LineHeightValue
impl RefUnwindSafe for LineHeightValue
impl Send for LineHeightValue
impl Sync for LineHeightValue
impl Unpin for LineHeightValue
impl UnwindSafe for LineHeightValue
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