Skip to main content

FrozenState

Trait FrozenState 

Source
pub trait FrozenState:
    Any
    + Debug
    + DynClone
    + Send {
    // Required methods
    fn unfreeze(&self) -> Box<dyn State>;
    fn input_count(&self) -> usize;
    fn output_count(&self) -> usize;
}

Required Methods§

Source

fn unfreeze(&self) -> Box<dyn State>

Source

fn input_count(&self) -> usize

Source

fn output_count(&self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§