Struct TailwindTheme

Source
pub struct TailwindTheme<'a> {
Show 61 fields pub screens: HashMap<&'a str, Screens<'a>>, pub spacing: HashMap<&'a str, &'a str>, pub space: HashMap<&'a str, &'a str>, pub cursor: HashMap<&'a str, &'a str>, pub flex: HashMap<&'a str, &'a str>, pub flex_basis: HashMap<&'a str, &'a str>, pub flex_grow: HashMap<&'a str, &'a str>, pub flex_shrink: HashMap<&'a str, &'a str>, pub gap: HashMap<&'a str, &'a str>, pub scale: HashMap<&'a str, &'a str>, pub colors: HashMap<&'a str, &'a str>, pub font_family: HashMap<&'a str, Vec<Cow<'a, str>>>, pub font_size: HashMap<&'a str, (&'a str, LineHeightOpt<'a>)>, pub font_weight: HashMap<&'a str, &'a str>, pub border_radius: HashMap<&'a str, &'a str>, pub border_width: HashMap<&'a str, &'a str>, pub box_shadow: HashMap<&'a str, &'a str>, pub z_index: HashMap<&'a str, &'a str>, pub columns: HashMap<&'a str, &'a str>, pub translate: HashMap<&'a str, &'a str>, pub width: HashMap<&'a str, &'a str>, pub height: HashMap<&'a str, &'a str>, pub rotate: HashMap<&'a str, &'a str>, pub letter_spacing: HashMap<&'a str, &'a str>, pub blur: HashMap<&'a str, &'a str>, pub invert: HashMap<&'a str, &'a str>, pub ring_width: HashMap<&'a str, &'a str>, pub ring_offset_width: HashMap<&'a str, &'a str>, pub opacity: HashMap<&'a str, &'a str>, pub order: HashMap<&'a str, &'a str>, pub margin: HashMap<&'a str, &'a str>, pub padding: HashMap<&'a str, &'a str>, pub outline_offset: HashMap<&'a str, &'a str>, pub outline_width: HashMap<&'a str, &'a str>, pub background_image: HashMap<&'a str, &'a str>, pub background_size: HashMap<&'a str, &'a str>, pub background_position: HashMap<&'a str, &'a str>, pub grid_template_rows: HashMap<&'a str, &'a str>, pub grid_row: HashMap<&'a str, &'a str>, pub grid_row_start: HashMap<&'a str, &'a str>, pub grid_row_end: HashMap<&'a str, &'a str>, pub grid_template_columns: HashMap<&'a str, &'a str>, pub grid_column: HashMap<&'a str, &'a str>, pub grid_column_start: HashMap<&'a str, &'a str>, pub grid_column_end: HashMap<&'a str, &'a str>, pub transition_delay: HashMap<&'a str, &'a str>, pub transition_duration: HashMap<&'a str, &'a str>, pub transition_property: HashMap<&'a str, &'a str>, pub transition_timing_function: HashMap<&'a str, &'a str>, pub divide_width: HashMap<&'a str, &'a str>, pub min_height: HashMap<&'a str, &'a str>, pub min_width: HashMap<&'a str, &'a str>, pub max_height: HashMap<&'a str, &'a str>, pub max_width: HashMap<&'a str, &'a str>, pub line_height: HashMap<&'a str, &'a str>, pub animation: HashMap<&'a str, &'a str>, pub stroke_width: HashMap<&'a str, &'a str>, pub backdrop_blur: HashMap<&'a str, &'a str>, pub aspect_ratio: HashMap<&'a str, &'a str>, pub decoration_thickness: HashMap<&'a str, &'a str>, pub ring_opacity: HashMap<&'a str, &'a str>,
}

Fields§

§screens: HashMap<&'a str, Screens<'a>>§spacing: HashMap<&'a str, &'a str>§space: HashMap<&'a str, &'a str>§cursor: HashMap<&'a str, &'a str>§flex: HashMap<&'a str, &'a str>§flex_basis: HashMap<&'a str, &'a str>§flex_grow: HashMap<&'a str, &'a str>§flex_shrink: HashMap<&'a str, &'a str>§gap: HashMap<&'a str, &'a str>§scale: HashMap<&'a str, &'a str>§colors: HashMap<&'a str, &'a str>§font_family: HashMap<&'a str, Vec<Cow<'a, str>>>§font_size: HashMap<&'a str, (&'a str, LineHeightOpt<'a>)>§font_weight: HashMap<&'a str, &'a str>§border_radius: HashMap<&'a str, &'a str>§border_width: HashMap<&'a str, &'a str>§box_shadow: HashMap<&'a str, &'a str>§z_index: HashMap<&'a str, &'a str>§columns: HashMap<&'a str, &'a str>§translate: HashMap<&'a str, &'a str>§width: HashMap<&'a str, &'a str>§height: HashMap<&'a str, &'a str>§rotate: HashMap<&'a str, &'a str>§letter_spacing: HashMap<&'a str, &'a str>§blur: HashMap<&'a str, &'a str>§invert: HashMap<&'a str, &'a str>§ring_width: HashMap<&'a str, &'a str>§ring_offset_width: HashMap<&'a str, &'a str>§opacity: HashMap<&'a str, &'a str>§order: HashMap<&'a str, &'a str>§margin: HashMap<&'a str, &'a str>§padding: HashMap<&'a str, &'a str>§outline_offset: HashMap<&'a str, &'a str>§outline_width: HashMap<&'a str, &'a str>§background_image: HashMap<&'a str, &'a str>§background_size: HashMap<&'a str, &'a str>§background_position: HashMap<&'a str, &'a str>§grid_template_rows: HashMap<&'a str, &'a str>§grid_row: HashMap<&'a str, &'a str>§grid_row_start: HashMap<&'a str, &'a str>§grid_row_end: HashMap<&'a str, &'a str>§grid_template_columns: HashMap<&'a str, &'a str>§grid_column: HashMap<&'a str, &'a str>§grid_column_start: HashMap<&'a str, &'a str>§grid_column_end: HashMap<&'a str, &'a str>§transition_delay: HashMap<&'a str, &'a str>§transition_duration: HashMap<&'a str, &'a str>§transition_property: HashMap<&'a str, &'a str>§transition_timing_function: HashMap<&'a str, &'a str>§divide_width: HashMap<&'a str, &'a str>§min_height: HashMap<&'a str, &'a str>§min_width: HashMap<&'a str, &'a str>§max_height: HashMap<&'a str, &'a str>§max_width: HashMap<&'a str, &'a str>§line_height: HashMap<&'a str, &'a str>§animation: HashMap<&'a str, &'a str>§stroke_width: HashMap<&'a str, &'a str>§backdrop_blur: HashMap<&'a str, &'a str>§aspect_ratio: HashMap<&'a str, &'a str>§decoration_thickness: HashMap<&'a str, &'a str>§ring_opacity: HashMap<&'a str, &'a str>

Trait Implementations§

Source§

impl<'a> Debug for TailwindTheme<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for TailwindTheme<'a>

Source§

fn default() -> TailwindTheme<'a>

Returns the “default value” for a type. Read more
Source§

impl<'de: 'a, 'a> Deserialize<'de> for TailwindTheme<'a>

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for TailwindTheme<'a>

§

impl<'a> RefUnwindSafe for TailwindTheme<'a>

§

impl<'a> Send for TailwindTheme<'a>

§

impl<'a> Sync for TailwindTheme<'a>

§

impl<'a> Unpin for TailwindTheme<'a>

§

impl<'a> UnwindSafe for TailwindTheme<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,