pub struct Configuration { /* private fields */ }
Expand description

Configuration for the parser.

A configuration to correctly parse a real wiki can be created with Configuration::new. A configuration for testing and quick and dirty prototyping can be created with Default::default.

Implementations

Allocates and returns a new configuration based on the given site specific configuration.

Parses wiki text into structured data.

Trait Implementations

Allocates and returns a configuration suitable for testing and quick and dirty prototyping. For correctly parsing an actual wiki, please get the correct site configuration for that particular wiki.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.