pub trait Container {
    type Item: SealedItem;

    fn items_as_parsed(&self) -> &[Self::Item];

    fn items(&self) -> Vec<Self::Item> { ... }
}
Expand description

Trait for for Unified containers, that exposes the items within them.

Required Associated Types

The type of item in this unified container.

Required Methods

Returns the items in the order they were parsed from the string encoding.

This API is for advanced usage; in most cases you should use Self::items.

Provided Methods

Returns the items contained within this container, sorted in preference order.

Implementors