mod drawable¶
Traits
A trait for something which can be drawn/rendered.
Functions
Draws this Drawable, optionally calling
rebindif enabled by settingREBIND-parameter totrue.Note:
rebindis intended to get the bindings into their initial state. Implementations that do not change any bindings may therefore choose not to callrebind, even whenREBINDis set totrue. 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