[−][src]Function inkling::read_story_from_string
pub fn read_story_from_string(string: &str) -> Result<Story, ParseError>
Read a Story
by parsing an input string.
Examples
let content = "\ He drifted off, and when he opened his eyes the woman was still there. Now she was talking to the old man seated next to her—the farmer from two stations back. "; let story: Story = read_story_from_string(content).unwrap();