pub struct FontWeightScale {
pub thin: String,
pub extralight: String,
pub light: String,
pub normal: String,
pub medium: String,
pub semibold: String,
pub bold: String,
pub extrabold: String,
pub black: String,
}Expand description
Re-export core tailwind-rs functionality Font weight scale
Fields§
§thin: String§extralight: String§light: String§normal: String§medium: String§semibold: String§bold: String§extrabold: String§black: StringImplementations§
Source§impl FontWeightScale
impl FontWeightScale
Sourcepub fn new() -> FontWeightScale
pub fn new() -> FontWeightScale
Creates a new font weight scale with default values
Trait Implementations§
Source§impl Default for FontWeightScale
impl Default for FontWeightScale
Source§fn default() -> FontWeightScale
fn default() -> FontWeightScale
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FontWeightScale
impl RefUnwindSafe for FontWeightScale
impl Send for FontWeightScale
impl Sync for FontWeightScale
impl Unpin for FontWeightScale
impl UnwindSafe for FontWeightScale
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