SrcSlice

Trait SrcSlice 

Source
pub trait SrcSlice: SrcTarget + SealedSrcSlice { }
Expand description

A sealed trait to encode the subset of SrcTarget that can contain multiple elements.

Either Self = [T] or Self = str.

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 SrcSlice for str

Source§

impl<T> SrcSlice for [T]

Implementors§