TreeDataGridSelectionMode
struct · ferroui-controls-treedatagrid · v0.5.0
struct TreeDataGridSelectionMode
The selection mode of a TreeDataGrid ([Flags] TreeDataGridSelectionMode):
rows or cells, one or many.
Members
0
0: u32
ROW
const ROW: TreeDataGridSelectionMode
Rows are selected.
CELL
const CELL: TreeDataGridSelectionMode
Cells are selected.
MULTIPLE
const MULTIPLE: TreeDataGridSelectionMode
More than one row or cell can be selected.
contains
fn contains(self: Self, flag: TreeDataGridSelectionMode) -> bool
Whether every flag of flag is set.
intersects
fn intersects(self: Self, flag: TreeDataGridSelectionMode) -> bool
Whether any flag of flag is set ((mode & flag) != 0).
parse
fn parse(text: &str) -> Option<TreeDataGridSelectionMode>
The mode parsed from its markup form: flag names separated by commas
("Cell, Multiple"), or a number.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherTreeModelMarkupTypedCloneCopyDebugStructuralPartialEqPartialEqEqHashDefaultBitOrBitAndDisplay
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.