pub struct FloatPoint {
pub x: f64,
pub y: f64,
}Expand description
A coordinate point using floating-point numbers, used for precise deltas or scaling.
Fields§
§x: f64§y: f64Trait Implementations§
Source§impl Clone for FloatPoint
impl Clone for FloatPoint
Source§fn clone(&self) -> FloatPoint
fn clone(&self) -> FloatPoint
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 FloatPoint
impl Debug for FloatPoint
Source§impl PartialEq for FloatPoint
impl PartialEq for FloatPoint
impl Copy for FloatPoint
impl StructuralPartialEq for FloatPoint
Auto Trait Implementations§
impl Freeze for FloatPoint
impl RefUnwindSafe for FloatPoint
impl Send for FloatPoint
impl Sync for FloatPoint
impl Unpin for FloatPoint
impl UnwindSafe for FloatPoint
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