pub struct ObjectTreeConfig {Show 19 fields
pub show_data_window: bool,
pub show_hidden_objects: bool,
pub show_lock_indicator: bool,
pub show_color_indicators: bool,
pub group_by_type: bool,
pub show_item_counts: bool,
pub show_expand_chevron: bool,
pub enable_drag_drop: bool,
pub enable_multi_select: bool,
pub enable_inline_edit: bool,
pub enable_context_menu: bool,
pub enable_keyboard_shortcuts: bool,
pub row_height: f32,
pub indent_width: f32,
pub max_height: f32,
pub icon_size: f32,
pub color_indicator_size: f32,
pub toggle_size: f32,
pub animate_transitions: bool,
}Expand description
Configuration for the Object Tree panel
Fields§
§show_data_window: boolShow the Data Window section
Show hidden objects in the tree
show_lock_indicator: boolShow locked indicator icon
show_color_indicators: boolShow color indicators next to items
group_by_type: boolGroup objects by type (indicators, drawings)
show_item_counts: boolShow item count badges on group headers
show_expand_chevron: boolShow expand/collapse chevron for items with properties
enable_drag_drop: boolEnable drag-and-drop reordering
enable_multi_select: boolEnable multi-selection (Ctrl+click, Shift+click)
enable_inline_edit: boolEnable inline property editing
Enable context menu on right-click
enable_keyboard_shortcuts: boolEnable keyboard shortcuts
row_height: f32Row height for tree items
indent_width: f32Indent width for nested items
max_height: f32Maximum panel height (for scroll area)
icon_size: f32Icon size in rows
color_indicator_size: f32Color indicator size
toggle_size: f32Toggle button size
animate_transitions: boolAnimate expand/collapse transitions
Implementations§
Trait Implementations§
Source§impl Clone for ObjectTreeConfig
impl Clone for ObjectTreeConfig
Source§fn clone(&self) -> ObjectTreeConfig
fn clone(&self) -> ObjectTreeConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectTreeConfig
impl Debug for ObjectTreeConfig
Auto Trait Implementations§
impl Freeze for ObjectTreeConfig
impl RefUnwindSafe for ObjectTreeConfig
impl Send for ObjectTreeConfig
impl Sync for ObjectTreeConfig
impl Unpin for ObjectTreeConfig
impl UnsafeUnpin for ObjectTreeConfig
impl UnwindSafe for ObjectTreeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more