postcard-schema 0.2.5

Reflection-like schemas for postcard types
Documentation
1
2
3
4
5
6
7
8
9
//! Implementations of the [`Schema`] trait for the `serde-big-array` crate v0.5.

use crate::{schema::NamedType, Schema};

use serde_big_array_v0_5::Array;

impl<T: Schema, const N: usize> Schema for Array<T, N> {
    const SCHEMA: &'static NamedType = <[T; N] as Schema>::SCHEMA;
}