`self` gives access to the struct fields via the dot operator ... `&mut self` desugars to `self: &mut Self`. fn translate(&mut self, x: f64, y: f64) {.
確定! 回上一頁