pub trait StateTrait {
type Left: List;
type Value: Bit;
type Right: List;
type Default: Bit;
// Required methods
fn new() -> Self;
fn val() -> RuntimeState;
}
Expand description
Single-type trait for State
type, used to get Left, Value
and Rigth types.
Required Associated Types§
Required Methods§
Sourcefn val() -> RuntimeState
fn val() -> RuntimeState
Real
, represented with rust’s objects value of type.
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.