Expand description
One instance of Collector is created during entire page render. It collects all the classes needed, and all the fonts needed to render the page. At the end of Node generation, values collected in this struct is included in generated HTML.
Fields
classes: Map<StyleSpec>
this stores all the classes in the document
key: i32
Trait Implementations
sourceimpl PartialEq<Collector> for Collector
impl PartialEq<Collector> for Collector
impl StructuralPartialEq for Collector
Auto Trait Implementations
impl RefUnwindSafe for Collector
impl Send for Collector
impl Sync for Collector
impl Unpin for Collector
impl UnwindSafe for Collector
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more