use super::{SeparatorPolicy, policies};
pub trait Separable {
fn separate_with_commas(&self) -> String {
self.separate_by_policy(policies::COMMA_SEPARATOR)
}
fn separate_with_spaces(&self) -> String {
self.separate_by_policy(policies::SPACE_SEPARATOR)
}
fn separate_with_dots(&self) -> String {
self.separate_by_policy(policies::DOT_SEPARATOR)
}
fn separate_with_underscores(&self) -> String {
self.separate_by_policy(policies::UNDERSCORE_SEPARATOR)
}
fn separate_by_policy(&self, policy: SeparatorPolicy) -> String;
}