1 2 3 4 5 6 7 8 9
#![crate_type = "lib"] pub struct Fish { pub x: isize } impl Fish { pub fn swim(&self) {} }