[][src]Trait fritz_guess::GuessSeparator

pub trait GuessSeparator {
    fn guess<'a>(
        &self,
        separators: impl Iterator<Item = &'a char> + Clone
    ) -> Result<char, Error>; }

Required methods

fn guess<'a>(
    &self,
    separators: impl Iterator<Item = &'a char> + Clone
) -> Result<char, Error>

Loading content...

Implementors

impl GuessSeparator for MostFrequentLineByLine[src]

fn guess<'a>(
    &self,
    separators: impl Iterator<Item = &'a char> + Clone
) -> Result<char, Error>
[src]

Check which of the provided separators occurs most often per line. That character which occurs most often 'wins' for a line. The character which wins most lines will be accepted as guess.

Loading content...