Struct tailwind_css::FontSize
source · pub struct FontSize { /* private fields */ }
Implementations§
source§impl FontSize
impl FontSize
pub fn new(size: f32, height: f32) -> Self
pub fn get_properties(&self) -> CssAttributes
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FontSize
impl Send for FontSize
impl Sync for FontSize
impl Unpin 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