MCPcopy Create free account
hub / github.com/csskit/csskit / Specificity

Class Specificity

crates/css_ast/src/specificity.rs:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Default)]
10pub struct Specificity(pub u8, pub u8, pub u8);
11
12impl ops::AddAssign for Specificity {
13 fn add_assign(&mut self, other: Self) {

Callers 4

sumMethod · 0.70
specificityMethod · 0.50
specificityMethod · 0.50
specificityMethod · 0.50

Calls

no outgoing calls

Tested by 1

sumMethod · 0.56