mod drawable

Traits

A trait for something which can be drawn/rendered.

Functions

Draws this Drawable, optionally calling rebind if enabled by setting REBIND-parameter to true.

Note: rebind is intended to get the bindings into their initial state. Implementations that do not change any bindings may therefore choose not to call rebind, even when REBIND is set to true. If you want to always modify the bindings, do so after the call instead.

Implemented for

Structs and Unions

A Drawable which wraps a child-Drawable and decides whether the child is visible or hidden. If the child is not visible, it will never be drawn.

Implementations

Functions

Creates a new Hidable wrapping the passed child. Will be visible by default.

Update the visibility of this Hidable

Update the visibility of this Hidable

Traits implemented