#[repr(transparent)]pub struct LetterSpacing(pub f32);Expand description
Keyless style! property wrapper setting inter-glyph letter spacing in logical pixels.
Tuple Fields§
§0: f32Trait Implementations§
Source§impl Clone for LetterSpacing
impl Clone for LetterSpacing
impl Copy for LetterSpacing
Source§impl Debug for LetterSpacing
impl Debug for LetterSpacing
Source§impl Default for LetterSpacing
impl Default for LetterSpacing
Source§impl PartialEq for LetterSpacing
impl PartialEq for LetterSpacing
impl StructuralPartialEq for LetterSpacing
Source§impl StyleApply for LetterSpacing
StyleApply implementation for LetterSpacing.
impl StyleApply for LetterSpacing
StyleApply implementation for LetterSpacing.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies LetterSpacing directly in place onto style.
§Arguments
Self- Inter-glyph letter spacing wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for LetterSpacing
impl Freeze for LetterSpacing
impl Move for LetterSpacing
impl RefUnwindSafe for LetterSpacing
impl Send for LetterSpacing
impl Sync for LetterSpacing
impl Unpin for LetterSpacing
impl UnsafeUnpin for LetterSpacing
impl UnwindSafe for LetterSpacing
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