#[repr(transparent)]pub struct LineHeight(pub f32);Expand description
Keyless style! property wrapper setting line-height multiplier.
Tuple Fields§
§0: f32Trait Implementations§
Source§impl Clone for LineHeight
impl Clone for LineHeight
Source§fn clone(&self) -> LineHeight
fn clone(&self) -> LineHeight
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LineHeight
Source§impl Debug for LineHeight
impl Debug for LineHeight
Source§impl Default for LineHeight
impl Default for LineHeight
Source§fn default() -> LineHeight
fn default() -> LineHeight
Returns the “default value” for a type. Read more
Source§impl PartialEq for LineHeight
impl PartialEq for LineHeight
impl StructuralPartialEq for LineHeight
Source§impl StyleApply for LineHeight
StyleApply implementation for LineHeight.
impl StyleApply for LineHeight
StyleApply implementation for LineHeight.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies LineHeight directly in place onto style.
§Arguments
Self- Line-height multiplier wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for LineHeight
impl Freeze for LineHeight
impl Move for LineHeight
impl RefUnwindSafe for LineHeight
impl Send for LineHeight
impl Sync for LineHeight
impl Unpin for LineHeight
impl UnsafeUnpin for LineHeight
impl UnwindSafe for LineHeight
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