pub enum HkValue {
String(String),
Number(f64),
Bool(bool),
Array(Vec<HkValue>),
Map(IndexMap<String, HkValue>),
}Expand description
Enum for values in the .hk config: supports strings, numbers, booleans, arrays, and maps.
Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for HkValue
Auto Trait Implementations§
impl Freeze for HkValue
impl RefUnwindSafe for HkValue
impl Send for HkValue
impl Sync for HkValue
impl Unpin for HkValue
impl UnwindSafe for HkValue
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