#[repr(C, packed(1))]pub struct PsVector2u16 {
pub x: u16,
pub y: u16,
}Expand description
@brief Stores the x, y, and z components of a 2D vector.
Fields§
§x: u16§y: u16Trait Implementations§
Source§impl Clone for PsVector2u16
impl Clone for PsVector2u16
Source§fn clone(&self) -> PsVector2u16
fn clone(&self) -> PsVector2u16
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 PsVector2u16
Source§impl Debug for PsVector2u16
impl Debug for PsVector2u16
Source§impl Default for PsVector2u16
impl Default for PsVector2u16
Source§fn default() -> PsVector2u16
fn default() -> PsVector2u16
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PsVector2u16
impl RefUnwindSafe for PsVector2u16
impl Send for PsVector2u16
impl Sync for PsVector2u16
impl Unpin for PsVector2u16
impl UnsafeUnpin for PsVector2u16
impl UnwindSafe for PsVector2u16
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