Struct tinybmp::RawPixel [−][src]
pub struct RawPixel { pub position: Point, pub color: u32, }
Expand description
Pixel with raw pixel color stored as a u32
.
Fields
position: Point
The position relative to the top left corner of the image.
color: u32
The raw pixel color.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.