Struct tailwind_css::FontSize
source · [−]pub struct FontSize { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more