Struct pixel_widgets::widget::Context[][src]

pub struct Context<Message> { /* fields omitted */ }
Expand description

Context for posting messages and requesting redraws of the ui.

Implementations

Push a message to the parnet Component.

Push multiple messages to the parent Component using an iterator.

Request a redraw of the ui.

Returns the redraw flag.

Returns the cursor position

Trait Implementations

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. 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 alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.