pub struct SavedValue {
pub feature: String,
pub selectors: Vec<(String, String)>,
pub value: String,
}Expand description
One value of a configuration.
Fields§
§feature: StringThe feature.
selectors: Vec<(String, String)>The selector entries the value belongs to, outermost first, as
(selector, entry); empty for a feature no selector selects.
value: StringThe value as text: an integer in decimal, a float in the shortest form
that reads back to the same value, an enumeration entry by name, a
boolean as 1/0, a register as 0x and hexadecimal bytes.
Trait Implementations§
Source§impl Clone for SavedValue
impl Clone for SavedValue
Source§impl Debug for SavedValue
impl Debug for SavedValue
Source§impl Display for SavedValue
impl Display for SavedValue
impl Eq for SavedValue
Source§impl PartialEq for SavedValue
impl PartialEq for SavedValue
impl StructuralPartialEq for SavedValue
Auto Trait Implementations§
impl Freeze for SavedValue
impl RefUnwindSafe for SavedValue
impl Send for SavedValue
impl Sync for SavedValue
impl Unpin for SavedValue
impl UnsafeUnpin for SavedValue
impl UnwindSafe for SavedValue
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