Module packed_struct::prelude[][src]

Expand description

Re-exports the most useful traits and types. Meant to be glob imported.

Re-exports

pub use super::derive::*;
pub use crate::types::*;
pub use crate::types::bits as packed_bits;

Enums

A wrapper for primitive enums that supports catching and retaining any values that don’t have defined discriminants.

Packing errors that might occur during packing or unpacking

Traits

A structure that can be packed and unpacked from a byte array.

A structure that can be packed and unpacked from a slice of bytes.

An enum type that can be packed or unpacked from a simple primitive integer.

Dynamic display formatters.