Struct embedded_graphics::prelude::UnsignedCoord[][src]

pub struct UnsignedCoord(pub u32, pub u32);

2D coordinate type

Methods

impl UnsignedCoord
[src]

Create a new coordinate with X and Y values

Trait Implementations

impl Debug for UnsignedCoord
[src]

Formats the value using the given formatter. Read more

impl Copy for UnsignedCoord
[src]

impl Clone for UnsignedCoord
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for UnsignedCoord
[src]

impl PartialEq for UnsignedCoord
[src]

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

This method tests for !=.

impl Add for UnsignedCoord
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl AddAssign for UnsignedCoord
[src]

Performs the += operation.

impl Sub for UnsignedCoord
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl SubAssign for UnsignedCoord
[src]

Performs the -= operation.

impl Index<usize> for UnsignedCoord
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

Auto Trait Implementations