#[repr(C)]pub struct Vector2 {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Implementations§
Trait Implementations§
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 Vector2
impl StructuralPartialEq for Vector2
Auto Trait Implementations§
impl Freeze for Vector2
impl RefUnwindSafe for Vector2
impl Send for Vector2
impl Sync for Vector2
impl Unpin for Vector2
impl UnwindSafe for 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