pub enum KeyKind {
Flag,
String,
Bool,
Number,
Percent,
Enum(&'static str),
ListMap,
ListHero,
}Expand description
A leaf key kind: how a settings leaf renders and validates.
Variants§
Flag
A presence-only extension setting.
String
A quoted string (Description: "...").
Bool
A boolean rendered On/Off.
Number
A plain number.
Percent
A number rendered with a % suffix (Respawn Time Scalar: 30%).
Enum(&'static str)
A string-valued enumeration with a per-domain member map
(Enum(domain)).
ListMap
A list of map names (enabled maps).
ListHero
A list of hero names (enabled heroes).
Trait Implementations§
impl Copy for KeyKind
impl Eq for KeyKind
impl StructuralPartialEq for KeyKind
Auto Trait Implementations§
impl Freeze for KeyKind
impl RefUnwindSafe for KeyKind
impl Send for KeyKind
impl Sync for KeyKind
impl Unpin for KeyKind
impl UnsafeUnpin for KeyKind
impl UnwindSafe for KeyKind
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