pub trait CodeHolder {
    // Required method
    fn get_chunk(&self, at: CodePoint) -> Cow<'_, str>;

    // Provided method
    fn get_chunk_located<L: Located>(&self, for_item: &L) -> Cow<'_, str> { ... }
}

Required Methods§

source

fn get_chunk(&self, at: CodePoint) -> Cow<'_, str>

Provided Methods§

source

fn get_chunk_located<L: Located>(&self, for_item: &L) -> Cow<'_, str>

Object Safety§

This trait is not object safe.

Implementors§