FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TreeDataGridSelectionMode

    struct · ferroui-controls-treedatagrid · v0.5.0

    struct TreeDataGridSelectionMode
    

    The selection mode of a TreeDataGrid ([Flags] TreeDataGridSelectionMode): rows or cells, one or many.

    View source

    Members

    0

    0: u32
    

    Source

    ROW

    const ROW: TreeDataGridSelectionMode
    

    Rows are selected.

    Source

    CELL

    const CELL: TreeDataGridSelectionMode
    

    Cells are selected.

    Source

    MULTIPLE

    const MULTIPLE: TreeDataGridSelectionMode
    

    More than one row or cell can be selected.

    Source

    contains

    fn contains(self: Self, flag: TreeDataGridSelectionMode) -> bool
    

    Whether every flag of flag is set.

    Source

    intersects

    fn intersects(self: Self, flag: TreeDataGridSelectionMode) -> bool
    

    Whether any flag of flag is set ((mode & flag) != 0).

    Source

    parse

    fn parse(text: &str) -> Option<TreeDataGridSelectionMode>
    

    The mode parsed from its markup form: flag names separated by commas ("Cell, Multiple"), or a number.

    Source

    Trait implementations

    Availability

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