#![forbid(unsafe_code)]
#![no_std]
pub trait ArrayStruct {
type Value;
type Array;
type Refs<'a>
where
Self: 'a;
type Muts<'a>
where
Self: 'a;
type Index;
fn from_val(value: Self::Value) -> Self;
fn val(self) -> Self::Value;
fn from_array(array: Self::Array) -> Self;
fn to_array(self) -> Self::Array;
fn refs(&'_ self) -> Self::Refs<'_>;
fn muts(&'_ mut self) -> Self::Muts<'_>;
}
pub use array_as_struct_derive::array_as_struct;
#[doc(hidden)]
pub use array_as_struct_derive::array_as_struct_doctest;