Struct style_traits::values::Comma
[−]
[src]
pub struct Comma;
Type used as the associated type in the OneOrMoreSeparated
trait on a
type to indicate that a serialized list of elements of this type is
separated by commas.
Trait Implementations
impl Separator for Comma
[src]
fn separator() -> &'static str
[src]
The separator string that the satisfying separator type corresponds to.
fn parse<'i, 't, F, T, E>(
input: &mut Parser<'i, 't>,
parse_one: F
) -> Result<Vec<T>, ParseError<'i, E>> where
F: for<'tt> FnMut(&mut Parser<'i, 'tt>) -> Result<T, ParseError<'i, E>>,
[src]
input: &mut Parser<'i, 't>,
parse_one: F
) -> Result<Vec<T>, ParseError<'i, E>> where
F: for<'tt> FnMut(&mut Parser<'i, 'tt>) -> Result<T, ParseError<'i, E>>,
Parses a sequence of values separated by this separator. Read more