#[repr(C)]pub struct NumericUpDownVTable {Show 16 fields
pub base: <TemplatedControl as ObjectType>::VTable,
pub on_number_format_changed: fn(&NumericUpDown, Option<Rc<NumberFormatInfo>>, Option<Rc<NumberFormatInfo>>),
pub on_format_string_changed: fn(&NumericUpDown, &str, &str),
pub on_increment_changed: fn(&NumericUpDown, Decimal, Decimal),
pub on_is_read_only_changed: fn(&NumericUpDown, bool, bool),
pub on_maximum_changed: fn(&NumericUpDown, Decimal, Decimal),
pub on_minimum_changed: fn(&NumericUpDown, Decimal, Decimal),
pub on_text_changed: fn(&NumericUpDown, Option<&str>, Option<&str>),
pub on_text_converter_changed: fn(&NumericUpDown, Option<Rc<dyn IValueConverter>>, Option<Rc<dyn IValueConverter>>),
pub on_value_changed: fn(&NumericUpDown, Option<Decimal>, Option<Decimal>),
pub on_coerce_increment: fn(&NumericUpDown, Decimal) -> Decimal,
pub on_coerce_maximum: fn(&NumericUpDown, Decimal) -> Decimal,
pub on_coerce_minimum: fn(&NumericUpDown, Decimal) -> Decimal,
pub on_coerce_value: fn(&NumericUpDown, Option<Decimal>) -> Option<Decimal>,
pub on_spin: fn(&NumericUpDown, &SpinEventArgs),
pub raise_value_changed_event: fn(&NumericUpDown, Option<Decimal>, Option<Decimal>),
}Expand description
The virtual table of the class.
Fields§
§base: <TemplatedControl as ObjectType>::VTable§on_number_format_changed: fn(&NumericUpDown, Option<Rc<NumberFormatInfo>>, Option<Rc<NumberFormatInfo>>)§on_format_string_changed: fn(&NumericUpDown, &str, &str)§on_increment_changed: fn(&NumericUpDown, Decimal, Decimal)§on_is_read_only_changed: fn(&NumericUpDown, bool, bool)§on_maximum_changed: fn(&NumericUpDown, Decimal, Decimal)§on_minimum_changed: fn(&NumericUpDown, Decimal, Decimal)§on_text_changed: fn(&NumericUpDown, Option<&str>, Option<&str>)§on_text_converter_changed: fn(&NumericUpDown, Option<Rc<dyn IValueConverter>>, Option<Rc<dyn IValueConverter>>)§on_value_changed: fn(&NumericUpDown, Option<Decimal>, Option<Decimal>)§on_coerce_increment: fn(&NumericUpDown, Decimal) -> Decimal§on_coerce_maximum: fn(&NumericUpDown, Decimal) -> Decimal§on_coerce_minimum: fn(&NumericUpDown, Decimal) -> Decimal§on_coerce_value: fn(&NumericUpDown, Option<Decimal>) -> Option<Decimal>§on_spin: fn(&NumericUpDown, &SpinEventArgs)§raise_value_changed_event: fn(&NumericUpDown, Option<Decimal>, Option<Decimal>)Trait Implementations§
Source§impl Clone for NumericUpDownVTable
impl Clone for NumericUpDownVTable
impl Copy for NumericUpDownVTable
Auto Trait Implementations§
impl Freeze for NumericUpDownVTable
impl RefUnwindSafe for NumericUpDownVTable
impl Send for NumericUpDownVTable
impl Sync for NumericUpDownVTable
impl Unpin for NumericUpDownVTable
impl UnsafeUnpin for NumericUpDownVTable
impl UnwindSafe for NumericUpDownVTable
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
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