PropertiesViewItem
struct · ferroui-diagnostics · v0.5.0
struct PropertiesViewItem
A row of the property grid: a group of properties, or a property of a group.
Members
groupproperty_itemfrom_boxedis_groupnamegroup_namepropertyboxed_propertychildrenitem_countis_pinnedset_is_pinnedis_expandedset_is_expandedtype_assigned_typeproperty_typepriority
group
fn group(name: String, children: Vec<Rc<PropertiesViewItem>>, is_expanded: bool) -> Rc<Self>
The row of the group name with the properties children.
property_item
fn property_item(property: PropertyViewModelRef) -> Rc<Self>
The row of a property.
from_boxed
fn from_boxed(value: &BoxedValue) -> Option<Rc<Self>>
The row of an untyped value (a data context of a cell).
is_group
fn is_group(self: &Self) -> bool
name
fn name(self: &Self) -> String
The name of the group, or of the property.
group_name
fn group_name(self: &Self) -> String
The group of the row: the group itself, or the group of the property.
property
fn property(self: &Self) -> Option<PropertyViewModelRef>
The property of the row; None for a group.
boxed_property
fn boxed_property(self: &Self) -> Option<BoxedValue>
The property as a value of its class; None for a group.
children
fn children(self: &Self) -> Rc<Vec<Rc<PropertiesViewItem>>>
item_count
fn item_count(self: &Self) -> i32
The number of properties of a group (the item count of a group header).
is_pinned
fn is_pinned(self: &Self) -> bool
set_is_pinned
fn set_is_pinned(self: &Self, value: bool)
is_expanded
fn is_expanded(self: &Self) -> bool
set_is_expanded
fn set_is_expanded(self: &Self, value: bool)
type_
fn type_(self: &Self) -> String
assigned_type
fn assigned_type(self: &Self) -> String
property_type
fn property_type(self: &Self) -> String
priority
fn priority(self: &Self) -> String
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelPartialEqINotifyPropertyChangedMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.