#[repr(C)]pub struct PamojaPoint {
pub x: f32,
pub y: f32,
}Expand description
A point in a plane.
Fields§
§x: f32The x coordinate.
y: f32The y coordinate.
Trait Implementations§
Source§impl Clone for PamojaPoint
impl Clone for PamojaPoint
Source§fn clone(&self) -> PamojaPoint
fn clone(&self) -> PamojaPoint
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 PamojaPoint
Source§impl Debug for PamojaPoint
impl Debug for PamojaPoint
Source§impl PartialEq for PamojaPoint
impl PartialEq for PamojaPoint
impl StructuralPartialEq for PamojaPoint
Auto Trait Implementations§
impl Freeze for PamojaPoint
impl RefUnwindSafe for PamojaPoint
impl Send for PamojaPoint
impl Sync for PamojaPoint
impl Unpin for PamojaPoint
impl UnsafeUnpin for PamojaPoint
impl UnwindSafe for PamojaPoint
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