oa::ui::UiScrollConfig

Configuration for a scrollable panel. Donor: oa::UiScrollConfig.

StRust public API

Declaration

pub struct UiScrollConfig { pub wheel_step: f32, pub scrollbar_width: f32, pub scrollbar_gap: f32, pub show_scrollbar: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> UiScrollConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

fn default() -> Self

Public Data Members

wheel_stepf32field
scrollbar_widthf32field
scrollbar_gapf32field
show_scrollbarboolfield

Public Method Documentation

fn clone( &self ) -> UiScrollConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.