pub enum IconType {
Collection,
Entity,
Custom(String),
}Expand description
The type of icon to display next to a node.
This enum defines the built-in icon types that can be used for nodes.
Custom icons can be added using the Custom variant.
Variants§
Collection
Icon for collection nodes (nodes that can contain children)
Entity
Icon for entity nodes (leaf nodes)
Custom(String)
Custom icon with a user-defined identifier
The string can be used to look up custom icon rendering logic or to specify an icon from an external icon set.
Trait Implementations§
impl Eq for IconType
impl StructuralPartialEq for IconType
Auto Trait Implementations§
impl Freeze for IconType
impl RefUnwindSafe for IconType
impl Send for IconType
impl Sync for IconType
impl Unpin for IconType
impl UnwindSafe for IconType
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