Trait Sequential

Source
pub trait Sequential { }
Expand description

The Sequential trait is a marker trait defining a sequential collection of elements. It is sealed, preventing external implementations, and is used to indicate that a type can be treated as a sequence of elements, such as arrays or vectors.

Implementations on Foreign Types§

Source§

impl<T> Sequential for &T
where T: Sequential,

Source§

impl<T> Sequential for &mut T
where T: Sequential,

Source§

impl<T> Sequential for [T]

Source§

impl<T> Sequential for Vec<T>

Source§

impl<T, const N: usize> Sequential for [T; N]

Implementors§