pub trait MakeCritical {
    // Provided method
    fn critical(self) -> CriticalControl<Self>
       where Self: Sized { ... }
}
Expand description

Mark a control as critical.

Most controls provided by this library implement this trait. All controls are instantiated as non-critical by default, unless dictated otherwise by their specification.

Provided Methods§

source

fn critical(self) -> CriticalControl<Self>where Self: Sized,

Mark the control instance as critical. This operation consumes the control, and is irreversible.

Implementors§