pub trait BitFieldImplwhere
Self::Container: Into<Self>,
Self: Into<Self::Container> + AsRef<Self::Container> + AsMut<Self::Container>,{
type Container: BitContainer;
type BitOrder: BitOrder;
}
Expand description
Required Associated Types§
Sourcetype Container: BitContainer
type Container: BitContainer
The underlying storage type for the bitfield.
This type defines where the raw bits are stored.
It must implement BitContainer
.
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.