pub struct Position {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
Represents a position in 3D space. A position contains three floating point numbers, representing the x, y and z coordinates.
Fields§
§x: f32The x coordinate.
y: f32The y coordinate.
z: f32The z coordinate.
Implementations§
Trait Implementations§
impl Copy for Position
impl StructuralPartialEq for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more