Trait ValueType

Source
pub trait ValueType { }
Expand description

A marker trait to indicate an owned collection type. This is to distinguish them from borrowed types, which is essential to resolve implementation collisions.

Implementations on Foreign Types§

Source§

impl<S, T> ValueType for (S, T)

A tuple wraps its containers, so itself is a value type and not a borrow.

Source§

impl<T> ValueType for Vec<T>

Source§

impl<T> ValueType for Range<T>

Source§

impl<T> ValueType for RangeInclusive<T>

Source§

impl<T> ValueType for RangeTo<T>

Source§

impl<T> ValueType for RangeToInclusive<T>

Implementors§

Source§

impl<S, I> ValueType for Chunked<S, I>

Source§

impl<S, I> ValueType for Select<S, I>

Source§

impl<S, I> ValueType for Subset<S, I>

Source§

impl<S, N> ValueType for UniChunked<S, N>

Source§

impl<S, T, I> ValueType for Sparse<S, T, I>