Struct mpdpopm::filters_ast::FilterStickerNames[][src]

pub struct FilterStickerNames<'a> { /* fields omitted */ }
Expand description

Convenience struct collecting the names for assorted stickers on which one may search

While the search terms ‘rating’, ‘playcount’ &c are fixed & part of the filter grammar offered by mpdpopm, the precise names of the corresponding stickers are configurable & hence must be passed in. Three references to str is already unweildy IMO, and since I expect the number of stickers on which one can search to grow further, I decided to wrap ’em up in a struct. The lifetime is there to support the caller just using a reference to an existing string rather than making a copy.

Implementations

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

Performs the conversion.

Performs the conversion.

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.