FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    group

    fn group(name: String, children: Vec<Rc<PropertiesViewItem>>, is_expanded: bool) -> Rc<Self>
    

    The row of the group name with the properties children.

    Source

    property_item

    fn property_item(property: PropertyViewModelRef) -> Rc<Self>
    

    The row of a property.

    Source

    from_boxed

    fn from_boxed(value: &BoxedValue) -> Option<Rc<Self>>
    

    The row of an untyped value (a data context of a cell).

    Source

    is_group

    fn is_group(self: &Self) -> bool
    

    Source

    name

    fn name(self: &Self) -> String
    

    The name of the group, or of the property.

    Source

    group_name

    fn group_name(self: &Self) -> String
    

    The group of the row: the group itself, or the group of the property.

    Source

    property

    fn property(self: &Self) -> Option<PropertyViewModelRef>
    

    The property of the row; None for a group.

    Source

    boxed_property

    fn boxed_property(self: &Self) -> Option<BoxedValue>
    

    The property as a value of its class; None for a group.

    Source

    children

    fn children(self: &Self) -> Rc<Vec<Rc<PropertiesViewItem>>>
    

    Source

    item_count

    fn item_count(self: &Self) -> i32
    

    The number of properties of a group (the item count of a group header).

    Source

    is_pinned

    fn is_pinned(self: &Self) -> bool
    

    Source

    set_is_pinned

    fn set_is_pinned(self: &Self, value: bool)
    

    Source

    is_expanded

    fn is_expanded(self: &Self) -> bool
    

    Source

    set_is_expanded

    fn set_is_expanded(self: &Self, value: bool)
    

    Source

    type_

    fn type_(self: &Self) -> String
    

    Source

    assigned_type

    fn assigned_type(self: &Self) -> String
    

    Source

    property_type

    fn property_type(self: &Self) -> String
    

    Source

    priority

    fn priority(self: &Self) -> String
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.