pub struct EntryFragment<'a> { /* private fields */ }
Expand description

Represents a single ListInfo entry fragment.

An entry fragment is a top level element in a ListInfo DAT document.

The following is an example of a clrmamepro fragment with a name element.

clrmamepro (
  name "DAT file."
)

Implementations

Gets the entry node with the given key if it exists.

Gets the entry node with the given key if it exists.

This is shorthand for fragment.entry("key").map(|f| f.unique())

Gets the values with the given key if it exists.

This is shorthand for fragment.entry("key").map(|f| f.iter())

Gets an key value iterator over the entries of this fragment.

Trait Implementations

Formats the value using the given formatter. Read more

The type of the deserializer being converted into.

Convert this value into a deserializer.

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.