InitType

Trait InitType 

Source
pub trait InitType: InitType { }
Expand description

A type flag for fields in shared structures.

This trait is implemented for W, RW, and [()], so it is either a Flag or the unit type (which is used to indicate a field is not initialized.)

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: InitType> InitType for T