#[repr(i32)]pub enum UpdateSourceTrigger {
Default = 0,
PropertyChanged = 1,
LostFocus = 2,
Explicit = 3,
}Expand description
Describes the timing of binding source updates.
Variants§
Default = 0
The default update source trigger, currently PropertyChanged.
PropertyChanged = 1
Updates the binding source immediately whenever the binding target property changes.
LostFocus = 2
Updates the binding source whenever the binding target element loses focus.
Explicit = 3
Updates the binding source only when update_source is called on the
binding expression.
Trait Implementations§
Source§impl Clone for UpdateSourceTrigger
impl Clone for UpdateSourceTrigger
impl Copy for UpdateSourceTrigger
Source§impl Debug for UpdateSourceTrigger
impl Debug for UpdateSourceTrigger
Source§impl Default for UpdateSourceTrigger
impl Default for UpdateSourceTrigger
impl Eq for UpdateSourceTrigger
Source§impl Hash for UpdateSourceTrigger
impl Hash for UpdateSourceTrigger
Source§impl MarkupTyped for UpdateSourceTrigger
impl MarkupTyped for UpdateSourceTrigger
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for UpdateSourceTrigger
impl PartialEq for UpdateSourceTrigger
impl StructuralPartialEq for UpdateSourceTrigger
Auto Trait Implementations§
impl Freeze for UpdateSourceTrigger
impl RefUnwindSafe for UpdateSourceTrigger
impl Send for UpdateSourceTrigger
impl Sync for UpdateSourceTrigger
impl Unpin for UpdateSourceTrigger
impl UnsafeUnpin for UpdateSourceTrigger
impl UnwindSafe for UpdateSourceTrigger
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