Struct usvg::Point [] [src]

pub struct Point {
    pub x: f64,
    pub y: f64,
}

A 2D point representation.

Fields

Methods

impl Point
[src]

[src]

Creates a new Point from values.

Trait Implementations

impl Clone for Point
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Point
[src]

impl PartialEq for Point
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<(f64, f64)> for Point
[src]

[src]

Performs the conversion.

impl Debug for Point
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Point
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Point

impl Sync for Point