Skip to main content

Initialize

Trait Initialize 

Source
pub trait Initialize: Sized {
    // Required method
    fn init(config: &Anulap<'_>) -> Option<Self>;
}
Expand description

A wrapper trait for settings config values.

Required Methods§

Source

fn init(config: &Anulap<'_>) -> Option<Self>

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.

Implementors§