Skip to main content

InitializableVariableTrait

Trait InitializableVariableTrait 

Source
pub trait InitializableVariableTrait {
    type StartType;

    // Required methods
    fn initial(&self) -> Option<Initial>;
    fn start(&self) -> Option<&[Self::StartType]>;
}

Required Associated Types§

Required Methods§

Source

fn initial(&self) -> Option<Initial>

Source

fn start(&self) -> Option<&[Self::StartType]>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§