Trait winnow::stream::ParseSlice
source · pub trait ParseSlice<R> {
// Required method
fn parse_slice(&self) -> Option<R>;
}
Expand description
Used to integrate str
’s parse()
method
Required Methods§
sourcefn parse_slice(&self) -> Option<R>
fn parse_slice(&self) -> Option<R>
Succeeds if parse()
succeededThe
The byte slice implementation will first convert it to a &str
, then apply the parse()
function