intuicio_data

Trait Initialize

source
pub trait Initialize: Sized {
    // Required method
    fn initialize() -> Self;

    // Provided method
    unsafe fn initialize_raw(data: *mut ()) { ... }
}

Required Methods§

source

fn initialize() -> Self

Provided Methods§

source

unsafe fn initialize_raw(data: *mut ())

§Safety

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> Initialize for T
where T: Default,