pub struct Vector3D {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
Reading this always returns the table with the named keys.
If this is specified as a three-element array then the array items are x, y and z, in that order.
Fields§
§x: f32§y: f32§z: f32Trait Implementations§
impl Copy for Vector3D
impl StructuralPartialEq for Vector3D
Auto Trait Implementations§
impl Freeze for Vector3D
impl RefUnwindSafe for Vector3D
impl Send for Vector3D
impl Sync for Vector3D
impl Unpin for Vector3D
impl UnsafeUnpin for Vector3D
impl UnwindSafe for Vector3D
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