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