pub trait ToBoolean {
// Required method
fn to_boolean(&self) -> Boolean;
}Required Methods§
fn to_boolean(&self) -> Boolean
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".