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

Class BrowserVersion

crates/css_feature_data/src/browser_version.rs:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
6pub struct BrowserVersion(pub u16, pub u16);
7
8impl BrowserVersion {
9 pub fn from_string(version: &str) -> Result<Self, ParseIntError> {

Callers 2

from_stringMethod · 0.85
from_string_as_rangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected