这是一个静态方法(static method). // 静态方法不需要被实例调用. // 这类方法一般用作构造器(constructor). fn origin() -> Point {. Point { x: 0.0, y: 0.0 }. }.
確定! 回上一頁