pub enum ResetBehavior {
Reset,
Remove,
}Expand description
Describes the action notified on a clear of a FerroList.
Variants§
Reset
Clearing the list notifies a with a NotifyCollectionChangedAction::Reset.
Remove
Clearing the list notifies a with a NotifyCollectionChangedAction::Remove.
Trait Implementations§
Source§impl Clone for ResetBehavior
impl Clone for ResetBehavior
impl Copy for ResetBehavior
Source§impl Debug for ResetBehavior
impl Debug for ResetBehavior
Source§impl Default for ResetBehavior
impl Default for ResetBehavior
impl Eq for ResetBehavior
Source§impl Hash for ResetBehavior
impl Hash for ResetBehavior
Source§impl MarkupTyped for ResetBehavior
impl MarkupTyped for ResetBehavior
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for ResetBehavior
impl PartialEq for ResetBehavior
impl StructuralPartialEq for ResetBehavior
Auto Trait Implementations§
impl Freeze for ResetBehavior
impl RefUnwindSafe for ResetBehavior
impl Send for ResetBehavior
impl Sync for ResetBehavior
impl Unpin for ResetBehavior
impl UnsafeUnpin for ResetBehavior
impl UnwindSafe for ResetBehavior
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more