Any function that supplies a &self , or &mut self can be called from the variable bound to the struct. let size = Size::new(10, 20); println!("Size = {}" ...
確定! 回上一頁