Struct embedded_graphics::prelude::UnsignedCoord [−][src]
pub struct UnsignedCoord(pub u32, pub u32);
2D coordinate type
Methods
impl UnsignedCoord[src]
impl UnsignedCoordTrait Implementations
impl Debug for UnsignedCoord[src]
impl Debug for UnsignedCoordfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for UnsignedCoord[src]
impl Copy for UnsignedCoordimpl Clone for UnsignedCoord[src]
impl Clone for UnsignedCoordfn clone(&self) -> UnsignedCoord[src]
fn clone(&self) -> UnsignedCoordReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for UnsignedCoord[src]
impl Eq for UnsignedCoordimpl PartialEq for UnsignedCoord[src]
impl PartialEq for UnsignedCoordfn eq(&self, other: &UnsignedCoord) -> bool[src]
fn eq(&self, other: &UnsignedCoord) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &UnsignedCoord) -> bool[src]
fn ne(&self, other: &UnsignedCoord) -> boolThis method tests for !=.
impl Add for UnsignedCoord[src]
impl Add for UnsignedCoordtype Output = UnsignedCoord
The resulting type after applying the + operator.
fn add(self, other: UnsignedCoord) -> UnsignedCoord[src]
fn add(self, other: UnsignedCoord) -> UnsignedCoordPerforms the + operation.
impl AddAssign for UnsignedCoord[src]
impl AddAssign for UnsignedCoordfn add_assign(&mut self, other: UnsignedCoord)[src]
fn add_assign(&mut self, other: UnsignedCoord)Performs the += operation.
impl Sub for UnsignedCoord[src]
impl Sub for UnsignedCoordtype Output = UnsignedCoord
The resulting type after applying the - operator.
fn sub(self, other: UnsignedCoord) -> UnsignedCoord[src]
fn sub(self, other: UnsignedCoord) -> UnsignedCoordPerforms the - operation.
impl SubAssign for UnsignedCoord[src]
impl SubAssign for UnsignedCoordfn sub_assign(&mut self, other: UnsignedCoord)[src]
fn sub_assign(&mut self, other: UnsignedCoord)Performs the -= operation.
impl Index<usize> for UnsignedCoord[src]
impl Index<usize> for UnsignedCoordAuto Trait Implementations
impl Send for UnsignedCoord
impl Send for UnsignedCoordimpl Sync for UnsignedCoord
impl Sync for UnsignedCoord