pub struct PhysicalPoint {
pub x: i32,
pub y: i32,
}Fields§
§x: i32§y: i32Implementations§
Trait Implementations§
Source§impl Clone for PhysicalPoint
impl Clone for PhysicalPoint
Source§fn clone(&self) -> PhysicalPoint
fn clone(&self) -> PhysicalPoint
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 PhysicalPoint
Source§impl Debug for PhysicalPoint
impl Debug for PhysicalPoint
Source§impl Default for PhysicalPoint
impl Default for PhysicalPoint
Source§fn default() -> PhysicalPoint
fn default() -> PhysicalPoint
Returns the “default value” for a type. Read more
impl Eq for PhysicalPoint
Source§impl Hash for PhysicalPoint
impl Hash for PhysicalPoint
Source§impl PartialEq for PhysicalPoint
impl PartialEq for PhysicalPoint
impl StructuralPartialEq for PhysicalPoint
Auto Trait Implementations§
impl Freeze for PhysicalPoint
impl RefUnwindSafe for PhysicalPoint
impl Send for PhysicalPoint
impl Sync for PhysicalPoint
impl Unpin for PhysicalPoint
impl UnsafeUnpin for PhysicalPoint
impl UnwindSafe for PhysicalPoint
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