Crate validated_slice

Source
Expand description

A library to easily define validated custom slice and vector types.

Macros§

impl_cmp_for_owned_slice
Implements PartialEq and PartialOrd for the given custom owned slice type.
impl_cmp_for_slice
Implements PartialEq and PartialOrd for the given custom slice type.
impl_slice_spec_methods
Implements some methods of SliceSpec trait automatically.
impl_std_traits_for_owned_slice
Implements std traits for the given custom slice type.
impl_std_traits_for_slice
Implements std traits for the given custom slice type.

Traits§

OwnedSliceSpec
A trait to provide types and features for an owned custom slice type.
SliceSpec
A trait to provide types and features for a custom slice type.