pub trait Checkbox {
// Required method
fn build(ui: &Ui<'_>, elem: &mut Self, params: CheckboxParams<'_>) -> bool;
}
Expand description
Trait for types that can be represented with a checkbox.
Required Methods§
fn build(ui: &Ui<'_>, elem: &mut Self, params: CheckboxParams<'_>) -> bool
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.