#[repr(C)]pub struct Vector2D {
pub x: f32,
pub y: f32,
}Fields§
§x: f32§y: f32Trait Implementations§
Source§impl From<&aiVector2D> for Vector2D
impl From<&aiVector2D> for Vector2D
Source§fn from(color: &aiVector2D) -> Self
fn from(color: &aiVector2D) -> Self
Converts to this type from the input type.
impl Copy for Vector2D
Auto Trait Implementations§
impl Freeze for Vector2D
impl RefUnwindSafe for Vector2D
impl Send for Vector2D
impl Sync for Vector2D
impl Unpin for Vector2D
impl UnsafeUnpin for Vector2D
impl UnwindSafe for Vector2D
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