git_trailers

Trait Separator

Source
pub trait Separator<'a> {
    // Required method
    fn sep_for(&self, token: &Token<'_>) -> &'a str;
}

Required Methods§

Source

fn sep_for(&self, token: &Token<'_>) -> &'a str

Implementations on Foreign Types§

Source§

impl<'a> Separator<'a> for &'a str

Source§

fn sep_for(&self, _: &Token<'_>) -> &'a str

Implementors§

Source§

impl<'a, F> Separator<'a> for F
where F: Fn(&Token<'_>) -> &'a str,