pub enum TagList {}
Expand description

A tag list is a map from tag names to their values.

To be memory efficient it is stored as a slice of key value pairs. Keys and Values are separated using a NUL and the slice is terminated with a double NUL.

Implementations§

Lookup a key’s value

Are there any tags at all?

Get the raw underlying memory as slice.

See TagList for a description of this memory’s layout.

This method is also exposed via an [AsRef<[u8]>] implementation.

Trait Implementations§

Cast to an crate::item::Item reference

See TagList for a description of this memory’s layout.

Cast to an crate::item::Item reference

Formats the value using the given formatter. Read more

Copy a TagList’s memory into an owned Vec

The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. 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.