pub trait SpinEventMethods: NotifyEventMethods {
// Provided methods
fn get_position(&self) -> c_int { ... }
fn set_position(&self, pos: c_int) { ... }
}Expand description
This trait represents C++ wxSpinEvent class’s methods and inheritance.
See SpinEventIsOwned documentation for the class usage.
Provided Methods§
Sourcefn get_position(&self) -> c_int
fn get_position(&self) -> c_int
Retrieve the current spin button or control value.
Sourcefn set_position(&self, pos: c_int)
fn set_position(&self, pos: c_int)
Set the value associated with the event.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.