#[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 copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§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
impl Copy for PsVector2u16
Auto Trait Implementations§
impl Freeze for PsVector2u16
impl RefUnwindSafe for PsVector2u16
impl Send for PsVector2u16
impl Sync for PsVector2u16
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)