Trait WidgetType
pub trait WidgetType {
// Required methods
fn to_i32(self) -> i32;
fn from_i32(val: i32) -> Self;
}
Available on crate feature
dep_fltk
only.Expand description
A trait defined for all enums passable to the WidgetExt::set_type()
method
Required Methods§
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.