pub struct TokenConsumerLocation {
pub path: String,
pub line: u32,
pub kind: ConsumerKind,
}Expand description
Where one Tailwind or CSS-in-JS design token is consumed, and through which
surface. One entry in a TokenConsumers::consumers sample.
Fields§
§path: StringProject-root-relative, forward-slash path to the consuming file.
line: u321-based line of the consuming reference in that file.
kind: ConsumerKindWhich surface consumes the token at this location.
Trait Implementations§
Source§impl Clone for TokenConsumerLocation
impl Clone for TokenConsumerLocation
Source§impl Debug for TokenConsumerLocation
impl Debug for TokenConsumerLocation
Source§impl<'de> Deserialize<'de> for TokenConsumerLocation
impl<'de> Deserialize<'de> for TokenConsumerLocation
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 TokenConsumerLocation
impl RefUnwindSafe for TokenConsumerLocation
impl Send for TokenConsumerLocation
impl Sync for TokenConsumerLocation
impl Unpin for TokenConsumerLocation
impl UnsafeUnpin for TokenConsumerLocation
impl UnwindSafe for TokenConsumerLocation
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