Struct gooey::frontends::renderers::kludgine::Kludgine[][src]

pub struct Kludgine { /* fields omitted */ }

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Returns the current system theme.

The size of the area being drawn.

A Rect representing the area being drawn. This rect should be offset relative to the origin of the renderer. Read more

Returns a new renderer instance with the state such that each operation executes as if the origin is bounds.origin. The returned instance’s size() should equal bounds.size. Read more

The scaling factors to use when rendering.

Renders text at baseline_origin with options.

Measures text using options.

Strokes the outline of rect using options.

Fills rect using color.

Draws a line between point_a and point_b using options.

Draws an image at location.

A Rect representing the area being drawn. Due to how rendering works, the origin is always zero. Read more

Renders text at baseline_origin with options.

Measures text using style.

Fills rect using style.

Strokes the outline of rect using style.

Draws a line between point_a and point_b using style.

Auto Trait Implementations

Blanket Implementations

Convert the source color to the destination color using the specified method Read more

Convert the source color to the destination color using the bradford method by default Read more

Gets the TypeId of self. Read more

Returns the underlying type as Any.

Returns the underlying type as Any.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Convert into T with values clamped to the color defined bounds Read more

Convert into T. The resulting color might be invalid in its color space Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Convert into T, returning ok if the color is inside of its defined range, otherwise an OutOfBounds error is returned which contains the unclamped color. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more