Struct usvg::Point
[−]
[src]
pub struct Point { pub x: f64, pub y: f64, }
A 2D point representation.
Fields
x: f64
y: f64
Methods
impl Point
[src]
Trait Implementations
impl Clone for Point
[src]
fn clone(&self) -> Point
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Point
[src]
impl PartialEq for Point
[src]
fn eq(&self, __arg_0: &Point) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Point) -> bool
[src]
This method tests for !=
.
impl From<(f64, f64)> for Point
[src]
impl Debug for Point
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more