Trait SliceOrSized

Source
pub unsafe trait SliceOrSized { }
Expand description

Marks types that are slices or Sized.

In other words, this ensures Self is not a trait object (or extern type, which are unstable).

Implementations on Foreign Types§

Source§

impl SliceOrSized for str

Source§

impl<T> SliceOrSized for [T]

Implementors§

Source§

impl<T> SliceOrSized for T