1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// #[optargs::optfn] pub fn plot( x: Vec<i32>, y: Option<Vec<i32>>, title: Option<&str>, xlabel: Option<&str>, ylabel: Option<&str>, ) -> bool { false } fn main() { let x = vec![1, 2, 3]; let y = vec![1, 2, 3]; // plot!(x, y, title: "asdsad", xlabel: "adasdsas", ylabel: "adasdsas"); }