Represents a setting value. This is used for iterating values in `Flags`.
| 75 | /// |
| 76 | /// This is used for iterating values in `Flags`. |
| 77 | pub struct Value { |
| 78 | /// The name of the setting associated with this value. |
| 79 | pub name: &'static str, |
| 80 | pub(crate) detail: detail::Detail, |
| 81 | pub(crate) values: Option<&'static [&'static str]>, |
| 82 | pub(crate) value: u8, |
| 83 | } |
| 84 | |
| 85 | impl Value { |
| 86 | /// Gets the kind of setting. |
no outgoing calls