Enum CharDataTable
enum CharDataTable<V: 'static>
A mapping from characters to some associated data.
For the set case, use () as the associated value.
Implementations
impl<V> CharDataTable<V>
fn iter(self: &Self) -> CharDataTableIter<'_, V>Iterate over the entries in this table. Yields pairs
(CharRange, V).
impl<V> CharDataTable<V>
fn contains(self: &Self, needle: char) -> boolDoes this table contain a mapping for a character?
impl<V: Copy + Default> CharDataTable<V>
fn find_or_default(self: &Self, needle: char) -> VFind the associated data for a character in this table, or the default value if not entered.
impl<V: Copy> CharDataTable<V>
fn find(self: &Self, needle: char) -> Option<V>Find the associated data for a character in this table.
fn find_with_range(self: &Self, needle: char) -> Option<(CharRange, V)>Find the range and the associated data for a character in the range table.
impl<T> Any for CharDataTable<V>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for CharDataTable<V>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for CharDataTable<V>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for CharDataTable<V>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for CharDataTable<V>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for CharDataTable<V>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for CharDataTable<V>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for CharDataTable<V>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V> Default for CharDataTable<V>
fn default() -> Self
impl<V> Freeze for CharDataTable<V>
impl<V> RefUnwindSafe for CharDataTable<V>
impl<V> Send for CharDataTable<V>
impl<V> Sync for CharDataTable<V>
impl<V> Unpin for CharDataTable<V>
impl<V> UnsafeUnpin for CharDataTable<V>
impl<V> UnwindSafe for CharDataTable<V>
impl<V: $crate::clone::Clone + 'static> Clone for CharDataTable<V>
fn clone(self: &Self) -> CharDataTable<V>
impl<V: $crate::fmt::Debug + 'static> Debug for CharDataTable<V>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result