structstd.enums.EnumMap.Entry[src]

An entry in the map.

Fields

key: Key

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

value: *Value

A pointer to the value in the map 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 map.
    key: Key,

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