use core::fmt::Display;
pub mod builder;
pub mod code;
pub mod error;
#[allow(
clippy::module_inception,
reason = "Matter module contains the Matter type"
)]
pub mod matter;
pub use matter::Matter;
pub mod sizage;
#[cfg(test)]
mod test_vectors;
#[cfg(test)]
mod test_vectors_boundary;
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum MatterPart {
Head,
Soft,
Xtra,
PadBits,
LeadBytes,
Raw,
}
impl Display for MatterPart {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "{self:?}")
}
}