pub struct SliderState {
    pub slider_button_key: GuiComponentKey,
    pub slider_frame: FrameState,
    pub percentage: f32,
}

Fields

slider_button_key: GuiComponentKeyslider_frame: FrameStatepercentage: f32

Trait Implementations

source

fn render_entry<'a>(
    &mut self,
    gl: &GlowGL,
    state: RenderState<'a>,
    _text_writer: &mut TextWriter
)

this fires the first occurrence in the tree
this fires after everything in the component subtree has been rendered

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

Returns the argument unchanged.

Calls U::from(self).

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

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.