pub enum SettingValueKind {
Presence,
Boolean,
Number,
Percent,
String,
Enum,
MapList,
HeroList,
}Expand description
The value shape a settings key accepts.
Variants§
Presence
key with no value.
Boolean
true or false.
Number
A number literal.
Percent
A number interpreted as a percent.
String
A string literal.
Enum
One of the members spellings.
MapList
A list of map names.
HeroList
A list of hero names.
Implementations§
Trait Implementations§
Source§impl Clone for SettingValueKind
impl Clone for SettingValueKind
impl Copy for SettingValueKind
Source§impl Debug for SettingValueKind
impl Debug for SettingValueKind
impl Eq for SettingValueKind
Source§impl PartialEq for SettingValueKind
impl PartialEq for SettingValueKind
Source§impl Serialize for SettingValueKind
impl Serialize for SettingValueKind
impl StructuralPartialEq for SettingValueKind
Auto Trait Implementations§
impl Freeze for SettingValueKind
impl RefUnwindSafe for SettingValueKind
impl Send for SettingValueKind
impl Sync for SettingValueKind
impl Unpin for SettingValueKind
impl UnsafeUnpin for SettingValueKind
impl UnwindSafe for SettingValueKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more