pub trait Initialize: Sized {
// Required method
fn initialize() -> Self;
// Provided method
unsafe fn initialize_raw(data: *mut ()) { ... }
}
Required Methods§
fn initialize() -> Self
Provided Methods§
sourceunsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
§Safety
Object Safety§
This trait is not object safe.