structstd.enums.EnumArray.Entry[src]

An entry in the array.

Fields

key: Key

The key associated with this entry. Modifying this key will not change the array.

value: *Value

A pointer to the value in the array associated with this key. Modifications through this pointer will modify the underlying data.

Source Code

Source code
pub const Entry = struct {
    /// The key associated with this entry.
    /// Modifying this key will not change the array.
    key: Key,

    /// A pointer to the value in the array associated
    /// with this key.  Modifications through this
    /// pointer will modify the underlying data.
    value: *Value,
}