Struct sdl2::ttf::PartialRendering[][src]

pub struct PartialRendering<'f, 'text> { /* fields omitted */ }
Expand description

A builder for a font rendering.

Implementations

Renders the text in solid mode. See the SDL2_TTF docs for an explanation.

Renders the text in shaded mode. See the SDL2_TTF docs for an explanation.

Renders the text in blended mode. See the SDL2_TTF docs for an explanation.

Renders the text in blended mode but wrapping the words if the width exceeds the given maximum width. See the SDL2_TTF docs for an explanation of the mode.

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.