cute::opt

Trait State

Source
pub trait State:
    Debug
    + Clone
    + Eq
    + Hash
    + Default { }
Expand description

A trait representing a state that can be used in command-line options

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§

Source§

impl<T: Debug + Clone + Eq + Hash + Default> State for T