Lines Matching defs:Opt
14 struct Opt { in required_option() struct
16 arg: i32, in required_option()
39 struct Opt { in optional_option() struct
41 arg: Option<i32>, in optional_option()
59 struct Opt { in option_with_default() struct
61 arg: i32, in option_with_default()
79 struct Opt { in option_with_raw_default() struct
81 arg: i32, in option_with_raw_default()
99 struct Opt { in options() struct
101 arg: Vec<i32>, in options()
120 struct Opt { in empy_default_value() struct
122 arg: String, in empy_default_value()
143 struct Opt { in option_from_str() struct
145 a: Option<A>, in option_from_str()
155 struct Opt { in optional_argument_for_optional_option() struct
158 arg: Option<Option<i32>>, in optional_argument_for_optional_option()
183 struct Opt { in two_option_options() struct
185 arg: Option<Option<i32>>, in two_option_options()
188 field: Option<Option<String>>, in two_option_options()
237 struct Opt { in optional_vec() struct
239 arg: Option<Vec<i32>>, in optional_vec()
300 struct Opt { in two_optional_vecs() struct
302 arg: Option<Vec<i32>>, in two_optional_vecs()
305 b: Option<Vec<i32>>, in two_optional_vecs()