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
Source§fn clone(&self) -> AggregateMode
fn clone(&self) -> AggregateMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AggregateMode
Source§impl Debug for AggregateMode
impl Debug for AggregateMode
Source§impl Default for AggregateMode
impl Default for AggregateMode
Source§fn default() -> AggregateMode
fn default() -> AggregateMode
Returns the “default value” for a type. Read more
impl Eq for AggregateMode
Source§impl PartialEq for AggregateMode
impl PartialEq for AggregateMode
Source§fn eq(&self, other: &AggregateMode) -> bool
fn eq(&self, other: &AggregateMode) -> bool
Tests for
self and other values to be equal, and is used by ==.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