pub struct PF_W<'a> { /* private fields */ }
Expand description

Field PF writer - Pixel Format

Implementations

Writes variant to the field

ARGB8888

RGB888

RGB565

ARGB1555

ARGB4444

L8 (8-bit luminance)

AL44 (4-bit alpha, 4-bit luminance)

AL88 (8-bit alpha, 8-bit luminance)

Writes raw bits to the field

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.

Should always be Self

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.