Trait Slicer
zoozle::cont
pub trait Slicer { pub fn slice_before(&self, key: char) -> String; }
pub fn slice_before(&self, key: char) -> String
impl Slicer for String
pub fn slice_before(&self, key: char) -> Self
impl Slicer for &str