pub struct Float2D {
pub x: f32,
pub y: f32,
}
Expand description
Geometric point in Cartesian 2D Space. X and Y values. Backed by two f32
’s
Fields§
§x: f32
§y: f32
Trait Implementations§
Source§impl EncodablePoint2D<8> for Float2D
impl EncodablePoint2D<8> for Float2D
Source§impl PartialOrd for Float2D
impl PartialOrd for Float2D
impl Copy for Float2D
impl StructuralPartialEq for Float2D
Auto Trait Implementations§
impl Freeze for Float2D
impl RefUnwindSafe for Float2D
impl Send for Float2D
impl Sync for Float2D
impl Unpin for Float2D
impl UnwindSafe for Float2D
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