Skip to main content

from_string

Function from_string 

Source
pub fn from_string<S>(id: S, text: S) -> TokenStream
where S: Into<String> + Clone,
Expand description

Create a stream from a string that yields character by character.