#[derive(Debug, Clone, Builder, StructOpt)]
//#[builder(build_fn(validate = "Self::validate_parameters"))]
pub struct FileParametres{
#[builder(public)]
pub equation_type:i8,
#[builder(default = "(0 as f32, 1 as f32)")]
pub margin_domain:(f32,f32),
add_args: (Option<TypeTsk>, Option<i8>, Option<bool>)//will be last background_mc additional_correction
}
Please, discribe me anerror and how can avoid it (it will appear if Builder and StructOpt together in use)
the trait bound (f32, f32): std::str::FromStr
is not satisfied
the trait std::str::FromStr
is not implemented for (f32, f32)
note: required by std::str::FromStr::from_str
rustc(E0277)
main.rs(30, 5): the trait std::str::FromStr
is not implemented for (f32, f32)
Thanks)