Lines Matching refs:Opt
7 struct Opt {
13 Opt {
16 Opt::try_parse_from(&["test", "-p", "1", "2", "-p", "0", "0"]).unwrap()
27 struct Opt {
33 Opt {
36 Opt::try_parse_from(["test", "-p", "1,2", "-p", "a,b"]).unwrap(),
43 struct Opt {
49 Opt { points: vec![] },
50 Opt::try_parse_from(&["test"]).unwrap()
57 struct Opt {
63 Opt {
66 Opt::try_parse_from(&["test", "-p", "1", "2", "-p", "3", "4"]).unwrap()
73 struct Opt {
79 Opt { points: None },
80 Opt::try_parse_from(&["test"]).unwrap()