Trait FromSingleValueArray

Source
pub trait FromSingleValueArray<T>: FromValue
where T: FromValue,
{ }
Expand description

Marker for single value array

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> FromSingleValueArray<T> for BTreeSet<T>
where T: FromValue + Ord,

Source§

impl<T> FromSingleValueArray<T> for Vec<T>
where T: FromValue,

Source§

impl<T, A> FromSingleValueArray<T> for SmallVec<A>
where A: Array<Item = T>, T: FromValue,

Source§

impl<T, S: BuildHasher + Default> FromSingleValueArray<T> for HashSet<T, S>
where T: FromValue + Eq + Hash,

Source§

impl<T, const N: usize> FromSingleValueArray<T> for [T; N]
where T: FromValue,

Implementors§