Struct tuix_internal::Scrollbar [−][src]
Fields
scroll: Scroll
pos_ratio: f32
Implementations
Trait Implementations
pub fn on_update(
&mut self,
state: &mut State,
_entity: Entity,
data: &<Scrollbar as Widget>::Data
)
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids