Enum unic_utils::tables::CharDataTable [] [src]

pub enum CharDataTable<V: 'static> {
    // some variants omitted
}

A mapping from characters to some associated data.

For the set case, use () as the associated value.

Methods

impl<V> CharDataTable<V>
[src]

[src]

Does this table contain a mapping for a character?

impl<V: Copy> CharDataTable<V>
[src]

[src]

Find the associated data for a character in this table.

impl<V: Copy + Default> CharDataTable<V>
[src]

[src]

Find the associated data for a character in this table, or the default value if not entered.

impl<V> CharDataTable<V>
[src]

[src]

Iterate over the entries in this table. Yields pairs (CharRange, V).

Trait Implementations

impl<V: Copy + 'static> Copy for CharDataTable<V>
[src]

impl<V: Clone + 'static> Clone for CharDataTable<V>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<V: Debug + 'static> Debug for CharDataTable<V>
[src]

[src]

Formats the value using the given formatter.

impl<V> Default for CharDataTable<V>
[src]

[src]

Returns the "default value" for a type. Read more