Struct anitomy_sys::Elements

source ·
#[repr(C)]
pub struct Elements { /* private fields */ }
Expand description

The collection of elements parsed from a filename by Anitomy.

Implementations§

Determines whether there are no elements of a given category.

Passing None will check for any elements at all.

Counts the number of elements of a given category.

Passing None will count all elements.

Get the element at the given position if one exists.

Gets the first element of a category if one exists, otherwise returns an empty string.

Gets all elements of a category.

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.