Struct pixels::ScalingRenderer[][src]

pub struct ScalingRenderer { /* fields omitted */ }
Expand description

The default renderer that scales your frame to the screen size.

Implementations

Draw the pixel buffer to the render target.

Get the clipping rectangle for the scaling renderer.

This rectangle defines the inner bounds of the surface texture, without the border.

Trait Implementations

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.