[][src]Struct tinybmp::Pixel

pub struct Pixel {
    pub x: u32,
    pub y: u32,
    pub color: u32,
}

A single pixel of a BMP image

Fields

x: u32

Pixel X coordinate from top left of image

y: u32

Pixel Y coordinate from top left of image

color: u32

Pixel color

Trait Implementations

impl Clone for Pixel[src]

impl Copy for Pixel[src]

impl Debug for Pixel[src]

impl Default for Pixel[src]

impl Eq for Pixel[src]

impl Hash for Pixel[src]

impl Ord for Pixel[src]

impl PartialEq<Pixel> for Pixel[src]

impl PartialOrd<Pixel> for Pixel[src]

impl StructuralEq for Pixel[src]

impl StructuralPartialEq for Pixel[src]

Auto Trait Implementations

impl Send for Pixel

impl Sync for Pixel

impl Unpin for Pixel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.