Trait fm::preview::Window

source ·
pub trait Window<T> {
    fn window(
        &self,
        top: usize,
        bottom: usize,
        length: usize
    ) -> Take<Skip<Enumerate<Iter<'_, T>>>>; }
Expand description

Common trait for many preview methods which are just a bunch of lines with no specific formatting. Some previewing (thumbnail and syntaxed text) needs more details.

Required Methods§

Implementors§