pub enum InfEntry {
KeyValue(String, Option<InfValue>),
OnlyValue(InfValue),
}Expand description
An entry in a Windows INF file section
Entries can be either key-value pairs or standalone values. Key-value pairs are used for configuration settings, while standalone values are often used for lists or simple values.
Variants§
KeyValue(String, Option<InfValue>)
A key-value pair entry
The first field is the key, and the second field is an optional value. The value is optional because some INF files may have keys without values.
OnlyValue(InfValue)
A standalone value entry
This variant is used for entries that don’t have a key, such as list items or simple values.
Trait Implementations§
impl StructuralPartialEq for InfEntry
Auto Trait Implementations§
impl Freeze for InfEntry
impl RefUnwindSafe for InfEntry
impl Send for InfEntry
impl Sync for InfEntry
impl Unpin for InfEntry
impl UnwindSafe for InfEntry
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