Struct printpdf::types::plugins::graphics::two_dimensional::point::Point [] [src]

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

Fields

x position from the bottom left corner in pt

y position from the bottom left corner in pt

Methods

impl Point
[src]

[src]

Create a new point. WARNING: The reference point for a point is the bottom left corner, not the top left

Trait Implementations

impl Debug for Point
[src]

[src]

Formats the value using the given formatter.

impl Copy for Point
[src]

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 PartialEq for Point
[src]

[src]

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

1.0.0
[src]

This method tests for !=.