Derive Macro bilge_impl::TryFromBits
source · #[derive(TryFromBits)]
{
// Attributes available to this derive:
#[bitsize_internal]
#[fallback]
}
Expand description
Generate an impl TryFrom<uN> for unfilled bitfields.
This should be used when your enum or enums nested in
a struct don’t fill their given bitsize.