pub struct TailwindArbitraryValue {
pub value: String,
pub count: u32,
pub path: String,
pub line: u32,
pub actions: Vec<CssCandidateAction>,
}Expand description
A distinct Tailwind arbitrary-value utility token used in markup, with its total use count and first location (a design-token-bypass candidate).
Fields§
§value: StringThe prefix-[value] token (e.g. w-[13px]). Variant prefixes are
stripped, so hover:w-[13px] and w-[13px] aggregate under w-[13px].
count: u32Total occurrences across all scanned markup files.
path: StringProject-root-relative, forward-slash path to the first file using it.
line: u321-based line of the first occurrence.
actions: Vec<CssCandidateAction>Read-only action(s): a find-all-occurrences search so the token can be
replaced with a scale token. Always at least one entry, so consumers can
iterate actions uniformly across every finding type.
Trait Implementations§
Source§impl Clone for TailwindArbitraryValue
impl Clone for TailwindArbitraryValue
Source§impl Debug for TailwindArbitraryValue
impl Debug for TailwindArbitraryValue
Source§impl<'de> Deserialize<'de> for TailwindArbitraryValue
impl<'de> Deserialize<'de> for TailwindArbitraryValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 Freeze for TailwindArbitraryValue
impl RefUnwindSafe for TailwindArbitraryValue
impl Send for TailwindArbitraryValue
impl Sync for TailwindArbitraryValue
impl Unpin for TailwindArbitraryValue
impl UnsafeUnpin for TailwindArbitraryValue
impl UnwindSafe for TailwindArbitraryValue
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