Skip to main content

bind

Function bind 

Source
pub fn bind<'i, Input, Error>(input: &mut Input) -> Result<Binding, Error>
where Input: StreamIsPartial + Stream + Compare<&'i str>, <Input as Stream>::Slice: AsBStr, <Input as Stream>::Token: AsChar + Clone, Error: ParserError<Input>,
Expand description

Parse a complete :bind(name [EXPECTING min[..max]] [NULL]) macro.

Assumes the :bind( prefix has already been consumed. Parses the contents up to and including the closing ).