Skip to content

Instantly share code, notes, and snippets.

@trimoq
Last active October 14, 2019 14:44
Show Gist options
  • Save trimoq/f654c7a94928fda298632821ea8dcd69 to your computer and use it in GitHub Desktop.
Save trimoq/f654c7a94928fda298632821ea8dcd69 to your computer and use it in GitHub Desktop.
Parameter declarations can be clumy at times
// Parameter declarations can be clumy at times
pub fn handle_motion(
evt: &EventMotion,
fixed_container: &Fixed,
lines: RefMut<Vec<TextArea>>,
background_dimensions: RefMut<(u32, u32)>,
text_idx: RefMut<i32>,
){
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment