Trait Sizer

Source
pub trait Sizer {
    // Required method
    fn size(&self, text: &str) -> Result<usize>;
}
Expand description

An interface for counting the size of a code chunk.

Required Methods§

Source

fn size(&self, text: &str) -> Result<usize>

Implementors§