pub enum AggregateMode {
None,
DescendantsDriveAncestors,
}Expand description
How a parent’s CheckState relates to its descendants.
Variants§
None
Each node owns its state independently; parent states do not reflect their descendants and cascades do not occur.
DescendantsDriveAncestors
All-checked → Checked; all-unchecked → Unchecked; mixed →
Indeterminate. Toggling a parent cascades Checked/Unchecked to
all descendants and recomputes every ancestor. This is the default and
corresponds to the “Outlook folder selection” tristate pattern.
Trait Implementations§
Source§impl Clone for AggregateMode
impl Clone for AggregateMode
impl Copy for AggregateMode
Source§impl Debug for AggregateMode
impl Debug for AggregateMode
Source§impl Default for AggregateMode
impl Default for AggregateMode
impl Eq for AggregateMode
Source§impl PartialEq for AggregateMode
impl PartialEq for AggregateMode
impl StructuralPartialEq for AggregateMode
Auto Trait Implementations§
impl Freeze for AggregateMode
impl RefUnwindSafe for AggregateMode
impl Send for AggregateMode
impl Sync for AggregateMode
impl Unpin for AggregateMode
impl UnsafeUnpin for AggregateMode
impl UnwindSafe for AggregateMode
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