#[repr(C, packed(1))]pub struct AiVector2D {
pub x: c_float,
pub y: c_float,
}Fields§
§x: c_float§y: c_floatTrait Implementations§
Source§impl Clone for AiVector2D
impl Clone for AiVector2D
Source§fn clone(&self) -> AiVector2D
fn clone(&self) -> AiVector2D
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 AiVector2D
Source§impl Debug for AiVector2D
impl Debug for AiVector2D
Source§impl PartialEq for AiVector2D
impl PartialEq for AiVector2D
Source§fn eq(&self, other: &AiVector2D) -> bool
fn eq(&self, other: &AiVector2D) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AiVector2D
Auto Trait Implementations§
impl Freeze for AiVector2D
impl RefUnwindSafe for AiVector2D
impl Send for AiVector2D
impl Sync for AiVector2D
impl Unpin for AiVector2D
impl UnsafeUnpin for AiVector2D
impl UnwindSafe for AiVector2D
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