pub struct Rasterizer<R> where
    R: Renderer
{ pub ui: Arc<Gooey<Rasterizer<R>>>, /* private fields */ }

Fields

ui: Arc<Gooey<Rasterizer<R>>>

Implementations

Executes callback with the transmogrifier and transmogrifier state as parameters.

Trait Implementations

Processes commands and events for this widget and transmogrifier.

Returns the TypeId of the underlying Widget.

Initializes default state for a newly created widget.

This implementation ignores the renderer field, as it’s temporary state only used during the render method. It shouldn’t ever be accessed outside of that context.

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The generic-free type of the frontend-specific transmogrifier trait.

The context type provided to aide in transmogrifying.

Returns the underlying Gooey instance.

Returns the State for the widget. Not all frontends track UI state, and this function is primarily used when building frontends. Read more

Notifies the frontend that a widget has messages. Frontends should ensure that process_widget_messages is called at some point after this method is called. Read more

Executed when Gooey exits a managed code block.

Returns the current system theme.

Loads an image asynchronously, executing completed when loaded.

Returns the asset configuration.

A widget is being initialized.

Schedules a timer that invokes callback after duration, and repeats if repeating is true.

Returns the window for this interface, if present.

Opens a window. Returns false if unable to open the window.

Returns the full Url for the asset, if available.

Localizes key with parameters.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called after a transmogrifier is initialized.

Called when a command is received from the widget.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called when a command is received from the widget.

Called after a transmogrifier is initialized.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called after a transmogrifier is initialized.

Called when a command is received from the widget.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called after a transmogrifier is initialized.

Called when a command is received from the widget.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called when a command is received from the widget.

Called after a transmogrifier is initialized.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called when a command is received from the widget.

Called after a transmogrifier is initialized.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called when a command is received from the widget.

Called after a transmogrifier is initialized.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

The type the storage this transmogrifier uses for state.

The type of the widget being transmogrified.

Called when a command is received from the widget.

Called after a transmogrifier is initialized.

Processes commands and events for this widget and transmogrifier.

Returns an initialized state using Self::State::default().

Returns the TypeId of Self::Widget.

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

Clones the frontend, returning the clone in a box.

Returns the widget storage.

Notifies the frontend that a widget has messages. Frontends should ensure that process_widget_messages is called at some point after this method is called. Read more

Marks that managed code is being executed. Can be nested. Automatically exited when the returned guard is dropped.

Returns the current system theme.

Loads an image asynchronously, executing completed when loaded.

Returns the full Url for the asset, if available.

Schedules a timer that invokes callback after duration, and repeats if repeating is true.

Localizes key with parameters.

Returns the window for this frontend instance.

Opens a window. Returns false if unable to open the window.

Returns the current application context.

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

Returns the argument unchanged.

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

Calls U::from(self).

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

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)

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