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

Method parse_mode

crates/csskit_derives/src/parse.rs:45–51  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

43
44impl ParseArg {
45 fn parse_mode(&self) -> FieldParseMode {
46 match (self.all_must_occur, self.one_must_occur) {
47 (true, _) => FieldParseMode::AllMustOccur,
48 (_, true) => FieldParseMode::OneMustOccur,
49 _ => FieldParseMode::Sequential,
50 }
51 }
52}
53
54#[derive(Debug)]

Callers 2

newMethod · 0.80
deriveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected