#[repr(C)]pub struct Clay_Vector2 {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Trait Implementations§
Source§impl Clone for Clay_Vector2
impl Clone for Clay_Vector2
Source§fn clone(&self) -> Clay_Vector2
fn clone(&self) -> Clay_Vector2
Returns a duplicate of the value. Read more
1.0.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 Clay_Vector2
impl Debug for Clay_Vector2
Source§impl From<Clay_Vector2> for Vector2
impl From<Clay_Vector2> for Vector2
Source§fn from(value: Clay_Vector2) -> Self
fn from(value: Clay_Vector2) -> Self
Converts to this type from the input type.
Source§impl From<Vector2> for Clay_Vector2
impl From<Vector2> for Clay_Vector2
impl Copy for Clay_Vector2
Auto Trait Implementations§
impl Freeze for Clay_Vector2
impl RefUnwindSafe for Clay_Vector2
impl Send for Clay_Vector2
impl Sync for Clay_Vector2
impl Unpin for Clay_Vector2
impl UnwindSafe for Clay_Vector2
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