[]Trait html5ever::tendril::fmt::SliceFormat

pub unsafe trait SliceFormat: Format {
    type Slice: Slice + ?Sized;
}

Indicates a format which corresponds to a Rust slice type, representing exactly the same invariants.

Associated Types

type Slice: Slice + ?Sized

Loading content...

Implementors

impl SliceFormat for Bytes

type Slice = [u8]

impl SliceFormat for UTF8

type Slice = str

Loading content...