pub struct TokenFile {
pub themes: HashMap<String, HashMap<String, String>>,
}Expand description
Loaded token themes — maps theme name → (token name → CSS value).
Fields§
§themes: HashMap<String, HashMap<String, String>>Theme name → token map. Token names are without the -- prefix.
Trait Implementations§
impl Eq for TokenFile
impl StructuralPartialEq for TokenFile
Auto Trait Implementations§
impl Freeze for TokenFile
impl RefUnwindSafe for TokenFile
impl Send for TokenFile
impl Sync for TokenFile
impl Unpin for TokenFile
impl UnsafeUnpin for TokenFile
impl UnwindSafe for TokenFile
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