//! A library for types with a fixed buffer size.
modimpls;#[cfg(feature ="derive")]pubusebuf_sized_derive::BufSized;/// A trait for types that have a fixed buffer size.
pubtraitBufSized{/// The buffer size of the type.
constBUF_SIZE:usize;}/// Get the buffer size of a type.
#[must_use]pubconstfnbuf_size<T: BufSized>()->usize{T::BUF_SIZE}