logo
macro_rules! from_archived {
    ($expr:expr) => { ... };
}
Expand description

Returns the unarchived value of the given archived primitive.

This macro is not needed for most use cases. Its primary purpose is to simultaneously:

  • Convert values from (potentially) different archived primitives to their native counterparts
  • Allow transformation in const contexts
  • Prevent linter warnings from unused into() calls

Users should feel free to use the more ergonomic into() where appropriate.