Struct embedded_graphics::prelude::UnsignedCoord [−][src]
pub struct UnsignedCoord(pub u32, pub u32);
2D coordinate type
Methods
impl UnsignedCoord
[src]
impl UnsignedCoord
Trait Implementations
impl Debug for UnsignedCoord
[src]
impl Debug for UnsignedCoord
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for UnsignedCoord
[src]
impl Copy for UnsignedCoord
impl Clone for UnsignedCoord
[src]
impl Clone for UnsignedCoord
fn clone(&self) -> UnsignedCoord
[src]
fn clone(&self) -> UnsignedCoord
Returns 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 UnsignedCoord
impl PartialEq for UnsignedCoord
[src]
impl PartialEq for UnsignedCoord
fn eq(&self, other: &UnsignedCoord) -> bool
[src]
fn eq(&self, other: &UnsignedCoord) -> bool
This 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) -> bool
This method tests for !=
.
impl Add for UnsignedCoord
[src]
impl Add for UnsignedCoord
type Output = UnsignedCoord
The resulting type after applying the +
operator.
fn add(self, other: UnsignedCoord) -> UnsignedCoord
[src]
fn add(self, other: UnsignedCoord) -> UnsignedCoord
Performs the +
operation.
impl AddAssign for UnsignedCoord
[src]
impl AddAssign for UnsignedCoord
fn 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 UnsignedCoord
type Output = UnsignedCoord
The resulting type after applying the -
operator.
fn sub(self, other: UnsignedCoord) -> UnsignedCoord
[src]
fn sub(self, other: UnsignedCoord) -> UnsignedCoord
Performs the -
operation.
impl SubAssign for UnsignedCoord
[src]
impl SubAssign for UnsignedCoord
fn 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 UnsignedCoord
Auto Trait Implementations
impl Send for UnsignedCoord
impl Send for UnsignedCoord
impl Sync for UnsignedCoord
impl Sync for UnsignedCoord