Trait TokenSlice

Source
pub trait TokenSlice<'a, T> {
    // Required method
    fn get_args_into(&'a self, args: &mut HashMap<&'a T, HashSet<ArgType>>)
       where T: Deref<Target = str> + Clone;

    // Provided method
    fn get_args(&'a self) -> HashMap<&'a T, HashSet<ArgType>>
       where T: Deref<Target = str> + Clone { ... }
}

Required Methods§

Source

fn get_args_into(&'a self, args: &mut HashMap<&'a T, HashSet<ArgType>>)
where T: Deref<Target = str> + Clone,

Provided Methods§

Source

fn get_args(&'a self) -> HashMap<&'a T, HashSet<ArgType>>
where T: Deref<Target = str> + Clone,

Implementations on Foreign Types§

Source§

impl<'a, T> TokenSlice<'a, T> for [Token<'_, 'a, T>]
where T: Deref<Target = str> + Clone + for<'b> PartialEq<&'b str> + Eq + Hash,

Source§

fn get_args_into(&'a self, args: &mut HashMap<&'a T, HashSet<ArgType>>)
where T: Deref<Target = str> + Clone,

Implementors§