Skip to content

Instantly share code, notes, and snippets.

@yoshuawuyts
Created November 13, 2018 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshuawuyts/4ffa557f40f2fcdf87cda3b20ddfeddd to your computer and use it in GitHub Desktop.
Save yoshuawuyts/4ffa557f40f2fcdf87cda3b20ddfeddd to your computer and use it in GitHub Desktop.
#[derive(StructOpt, PartialEq, Debug)]
pub struct Cli {
bbox_1: u32,
bbox_2: u32,
bbox_3: u32,
bbox_4: u32,
}
fn main () {
let args = Cli::from_args();
let bbox = ((args.bbox_1, args.bbox_2), (args.bbox_3, args.bbox_4));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment