pub trait Slice {
type Element;
// Required method
fn slice(&self) -> &[Self::Element];
}
Expand description
Types that may be used as a data slice for Fixed
and Bounded
ring buffers.
pub trait Slice {
type Element;
// Required method
fn slice(&self) -> &[Self::Element];
}
Types that may be used as a data slice for Fixed
and Bounded
ring buffers.