[][src]Trait embedded_graphics::unsignedcoord::ToSigned

pub trait ToSigned {
    fn to_signed(self) -> Coord;
}

Convert an unsigned coordinate to a signed representation

The coordinate is guaranteed to be positive. This trait is provided as a convenience method for converting between signed/unsigned coords.

Required methods

fn to_signed(self) -> Coord

Convert self into a signed Coord

Loading content...

Implementors

impl ToSigned for UnsignedCoord[src]

Loading content...