Struct pnets_tina::Parser[][src]

pub struct Parser<R: BufRead> { /* fields omitted */ }
Expand description

Exporter for tina format.

It consume a reader and creates a pnets::timed::Net

Implementations

Parse a timed net from a reader

Create a new parser from reader

let parser = Parser::new(&"net Réseau\ntr t0 p0 -> p1\ntr t1 p1 -> p0".as_bytes());

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.