Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
10
pub struct Specificity(pub u8, pub u8, pub u8);
11
12
impl ops::AddAssign for Specificity {
13
fn add_assign(&mut self, other: Self) {
Callers
4
sum
Method · 0.70
specificity
Method · 0.50
specificity
Method · 0.50
specificity
Method · 0.50
Calls
no outgoing calls
Tested by
1
sum
Method · 0.56