pub trait IntoPattern {
// Required methods
fn is_single(&self) -> bool;
fn patterns(&self) -> Vec<String>;
}
Expand description
Helper trait for type that could be converted to path pattern
pub trait IntoPattern {
// Required methods
fn is_single(&self) -> bool;
fn patterns(&self) -> Vec<String>;
}
Helper trait for type that could be converted to path pattern