Crate bilge_impl

source ·

Attribute Macros

  • Defines the bitsize of a struct or an enum.
  • This is internally used, not to be used by anything besides bitsize. No guarantees are given.

Derive Macros

  • Generate an impl core::fmt::Binary for bitfields.
  • Generate an impl core::fmt::Debug for bitfield structs.
  • Generate an impl core::default::Default for bitfield structs.
  • Generate an impl From<uN> for filled bitfields.
  • Generate an impl TryFrom<uN> for unfilled bitfields.