Trait Slice
fluent_syntax::parser
pub trait Slice<'s>: AsRef<str> + Clone + PartialEq { fn slice(&self, range: Range<usize>) -> Self; fn trim(&mut self); }
fn slice(&self, range: Range<usize>) -> Self
fn trim(&mut self)
impl<'s> Slice<'s> for String
impl<'s> Slice<'s> for &'s str