pub trait Initializable {
// Required method
fn is_initialized(&self) -> bool;
}Expand description
Trait to represent a type that can be initialized.
Required Methods§
Sourcefn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
Return true if the object is initialized — i.e. in any non-
Uninitialized state.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".