pub struct Pixel<Coord> { /* private fields */ }
Expand description

An element representing a single pixel.

See crate::element::EmptyElement for more information and examples.

Implementations

Creates a new pixel.

See crate::element::EmptyElement for more information and examples.

Trait Implementations

Actually draws the element. The key points is already translated into the image coordinate and can be used by DC directly Read more

The item in point iterator

The point iterator

framework to do the coordinate mapping

Point creator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.