pub struct StylesheetTokens {
pub theme: ThemeScan,
pub apply_tokens_located: Vec<(String, u32)>,
pub css_var_reads_located: Vec<(String, u32)>,
}Expand description
The Tailwind token surfaces of one stylesheet, from one masked copy of the source.
Fields§
§theme: ThemeScanThe result of scan_theme_blocks.
apply_tokens_located: Vec<(String, u32)>The result of extract_apply_tokens_located.
css_var_reads_located: Vec<(String, u32)>The result of extract_css_var_reads_located.
Trait Implementations§
Source§impl Clone for StylesheetTokens
impl Clone for StylesheetTokens
Source§impl Debug for StylesheetTokens
impl Debug for StylesheetTokens
Source§impl Default for StylesheetTokens
impl Default for StylesheetTokens
impl Eq for StylesheetTokens
Source§impl PartialEq for StylesheetTokens
impl PartialEq for StylesheetTokens
impl StructuralPartialEq for StylesheetTokens
Auto Trait Implementations§
impl Freeze for StylesheetTokens
impl RefUnwindSafe for StylesheetTokens
impl Send for StylesheetTokens
impl Sync for StylesheetTokens
impl Unpin for StylesheetTokens
impl UnsafeUnpin for StylesheetTokens
impl UnwindSafe for StylesheetTokens
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more