#[repr(C, packed(1))]pub struct PsVector3f {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
@brief Stores the x, y, and z components of a 3D vector.
Fields§
§x: f32!< The x, y, and z components of the vector.
y: f32!< The x, y, and z components of the vector.
z: f32!< The x, y, and z components of the vector.
Trait Implementations§
Source§impl Clone for PsVector3f
impl Clone for PsVector3f
Source§fn clone(&self) -> PsVector3f
fn clone(&self) -> PsVector3f
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PsVector3f
Source§impl Debug for PsVector3f
impl Debug for PsVector3f
Source§impl Default for PsVector3f
impl Default for PsVector3f
Source§fn default() -> PsVector3f
fn default() -> PsVector3f
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PsVector3f
impl RefUnwindSafe for PsVector3f
impl Send for PsVector3f
impl Sync for PsVector3f
impl Unpin for PsVector3f
impl UnsafeUnpin for PsVector3f
impl UnwindSafe for PsVector3f
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