Struct sw_composite::PointFixedPoint
source · pub struct PointFixedPoint {
pub x: i32,
pub y: i32,
}
Fields§
§x: i32
§y: i32
Trait Implementations§
source§impl Clone for PointFixedPoint
impl Clone for PointFixedPoint
source§fn clone(&self) -> PointFixedPoint
fn clone(&self) -> PointFixedPoint
Returns a copy 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 PointFixedPoint
impl Debug for PointFixedPoint
source§impl PartialEq<PointFixedPoint> for PointFixedPoint
impl PartialEq<PointFixedPoint> for PointFixedPoint
source§fn eq(&self, other: &PointFixedPoint) -> bool
fn eq(&self, other: &PointFixedPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.