raw_struct 0.3.0

raw_struct is a Rust procedural macro for easily declaring C-style structs that reference local or external memory, based on your memory implementation. It generates appropiate getter methods for easy access.
Documentation
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(rustfmt, rustfmt_skip)]

#[cfg(feature = "alloc")]
extern crate alloc;

mod error;
pub use error::{
    MemoryDecodeError,
    OutOfBoundsViolation,
};

mod memory;
pub use memory::{
    CopyConstructable,
    FromMemoryView,
    MemoryView,
    MemoryViewDereferenceable,
};

mod reference;
pub use reference::Reference;

mod copy;
pub use copy::{
    Copy,
    CopyMemory,
};

mod view;
pub use view::{
    Viewable,
    ViewableExtends,
    TypedViewableField,
    ViewableField,
    ViewableSized,
};

pub mod builtins;

// Re-exports
pub use raw_struct_derive::raw_struct;