pub enum Value {
Color([u8; 4]),
Link(String),
}Expand description
Represents a possible variable’s value.
Variants§
Color([u8; 4])
Holds the color of the variable.
Link(String)
Holds the variable’s link to another variable.
§Notes
Tt’s not guaranteed that the theme really has the variable this field holds a link to.
To get the variable’s real value, use TdesktopTheme.resolve_variable.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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