Struct anitomy::Anitomy

source ·
pub struct Anitomy { /* private fields */ }
Expand description

An Anitomy parser instance.

Implementations

Construct a new Anitomy instance.

Parses a filename.

The Ok and Err variants correspond to what Anitomy classifies as succeeding or failing in parsing a filename. Such as an AnimeTitle element being found. Regardless the parsed elements are returned either way.

Sets the options to be used by Anitomy when parsing filenames.

Trait Implementations

Executes the destructor for this type. Read more

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.