#[repr(C, packed(1))]pub struct ScVector3f {
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 components of the vector.
y: f32!< The y components of the vector.
z: f32!< The z components of the vector.
Trait Implementations§
Source§impl Clone for ScVector3f
impl Clone for ScVector3f
Source§fn clone(&self) -> ScVector3f
fn clone(&self) -> ScVector3f
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 ScVector3f
Source§impl Debug for ScVector3f
impl Debug for ScVector3f
Source§impl Default for ScVector3f
impl Default for ScVector3f
Source§fn default() -> ScVector3f
fn default() -> ScVector3f
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScVector3f
impl RefUnwindSafe for ScVector3f
impl Send for ScVector3f
impl Sync for ScVector3f
impl Unpin for ScVector3f
impl UnsafeUnpin for ScVector3f
impl UnwindSafe for ScVector3f
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