Module spinel_pack::prelude
source · Expand description
Prelude module intended for blanket inclusion to make the crate easier to use.
use spinel_pack::prelude::*;
Re-exports
pub use super::TryOwnedUnpack as _;
pub use super::TryPack as _;
pub use super::TryPackAs as _;
pub use super::TryUnpack as _;
pub use super::TryUnpackAs as _;
Macros
- Provides an automatic implementation of
TryUnpack
when wrapped around an implementation ofTryOwnedUnpack
.
Attribute Macros
- Attribute macro which takes a Spinel format string as an argument and automatically defines the
TryPack
/TryUnpack
traits for the given struct.