oa::ui::types::UiTreeRowConfig

Configuration for one crate::ui::Ui::tree_row call. Donor: oa::UiTreeRowConfig.

StRust public API

Declaration

pub struct UiTreeRowConfig { pub depth: i32, pub indent: i32, pub disclosure_width: i32, pub has_children: bool, pub open: bool, pub selected: bool, pub enabled: bool, }
Public Rust declaration.

Public Methods

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

Associated Functions

pub const fn new() -> Self
fn default() -> UiTreeRowConfig

Public Data Members

depthi32field
indenti32field
disclosure_widthi32field
has_childrenboolfield
openboolfield
selectedboolfield
enabledboolfield

Public Method Documentation

fn clone( &self ) -> UiTreeRowConfig
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.
pub const fn new() -> Self
No public source comment is attached to this declaration.
fn default() -> UiTreeRowConfig
No public source comment is attached to this declaration.