13 lines
229 B
Rust
13 lines
229 B
Rust
#[derive(Debug)]
|
|
struct Destination {
|
|
pub x: f32,
|
|
pub y: f32,
|
|
pub z: f32,
|
|
dest: u16,
|
|
}
|
|
|
|
impl Default for Destination {
|
|
fn default() -> Self {
|
|
Self { x: 520000.0, y: 520000.0, z: 1.0, dest: 20 }
|
|
}
|
|
} |