Trait tendril::SliceExt

source ·
pub trait SliceExt<F>: Slice
where F: SliceFormat<Slice = Self>,
{ // Provided method fn to_tendril(&self) -> Tendril<F> { ... } }
Expand description

Tendril-related methods for Rust slices.

Provided Methods§

source

fn to_tendril(&self) -> Tendril<F>

Make a Tendril from this slice.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SliceExt<Bytes> for [u8]

source§

impl SliceExt<UTF8> for str

Implementors§