#[repr(C)]pub struct FloatCoords2D {
pub x: f32,
pub y: f32,
}Expand description
A structure encapsulating a 2-dimensional set of floating point coordinates.
Fields§
§x: f32< The x coordinate of a 2-dimensional point.
y: f32< The y coordinate of a 2-dimensional point.
Trait Implementations§
Source§impl Clone for FloatCoords2D
impl Clone for FloatCoords2D
Source§fn clone(&self) -> FloatCoords2D
fn clone(&self) -> FloatCoords2D
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 FloatCoords2D
impl Debug for FloatCoords2D
Source§impl Default for FloatCoords2D
impl Default for FloatCoords2D
Source§fn default() -> FloatCoords2D
fn default() -> FloatCoords2D
Returns the “default value” for a type. Read more
impl Copy for FloatCoords2D
Auto Trait Implementations§
impl Freeze for FloatCoords2D
impl RefUnwindSafe for FloatCoords2D
impl Send for FloatCoords2D
impl Sync for FloatCoords2D
impl Unpin for FloatCoords2D
impl UnwindSafe for FloatCoords2D
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