Struct theme_parser::parser::theme_txt::ComponentProperty
source · pub struct ComponentProperty {
pub name: String,
pub value: String,
}
Expand description
A key-value pair, separated with =
that modifies how a Component
looks.
# + label {
name = value
name = "many words"
name = (120 80) # tuple, not used in GRUB right now
# }
Fields§
§name: String
§value: String
Trait Implementations§
source§impl Debug for ComponentProperty
impl Debug for ComponentProperty
source§impl PartialEq for ComponentProperty
impl PartialEq for ComponentProperty
source§fn eq(&self, other: &ComponentProperty) -> bool
fn eq(&self, other: &ComponentProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ComponentProperty
impl StructuralEq for ComponentProperty
impl StructuralPartialEq for ComponentProperty
Auto Trait Implementations§
impl RefUnwindSafe for ComponentProperty
impl Send for ComponentProperty
impl Sync for ComponentProperty
impl Unpin for ComponentProperty
impl UnwindSafe for ComponentProperty
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