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