oa::ui::types::UiScrollRegion

Return value from crate::ui::Ui::begin_scroll_panel. Donor: oa::UiScrollRegion.

StRust public API

Declaration

pub struct UiScrollRegion { pub viewport: PixelRect, pub content: PixelRect, pub offset_y: i32, pub max_offset_y: i32, }
Public Rust declaration.

Public Methods

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

Associated Functions

fn default() -> UiScrollRegion

Public Data Members

viewportPixelRectfield
contentPixelRectfield
offset_yi32field
max_offset_yi32field

Public Method Documentation

fn clone( &self ) -> UiScrollRegion
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() -> UiScrollRegion
No public source comment is attached to this declaration.