pub trait MatchName {
    fn match_name<T>(&self, name: &str) -> Option<&T>;
    fn match_name_mut<T>(&mut self, name: &str) -> Option<&mut T>;
}
Expand description

Match for a name and return the value

Safety

This operation is unsafe with Rust stable, wait for specialization.

Required Methods

Match for a name and return the borrowed value

Match for a name and return the mut borrowed value

Implementations on Foreign Types

Implementors