pub struct Swatches(RefCell<HashMap<Color, Rc<str>>>);Expand description
The CSS strings a frame’s swatches were last written as.
A display list names a handful of colours thousands of times, and each mark would otherwise re-format the same six digits.
Tuple Fields§
§0: RefCell<HashMap<Color, Rc<str>>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Swatches
impl !RefUnwindSafe for Swatches
impl !Send for Swatches
impl !Sync for Swatches
impl Unpin for Swatches
impl UnsafeUnpin for Swatches
impl UnwindSafe for Swatches
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