pub struct LinkTheme {
pub visited_text_color: Option<Rgba>,
pub underline_enabled: Option<bool>,
pub background_color: Option<Rgba>,
pub hover_background: Option<Rgba>,
pub hover_text_color: Option<Rgba>,
pub active_text_color: Option<Rgba>,
pub disabled_text_color: Option<Rgba>,
pub font: Option<FontSpec>,
}Expand description
Hyperlink colors and underline setting.
Fields§
§visited_text_color: Option<Rgba>Visited link text color.
underline_enabled: Option<bool>Whether links are underlined.
background_color: Option<Rgba>Link background fill (typically transparent).
hover_background: Option<Rgba>Link background on hover.
hover_text_color: Option<Rgba>Link text color on hover.
active_text_color: Option<Rgba>Link text color when pressed/active.
disabled_text_color: Option<Rgba>Link text color when disabled.
font: Option<FontSpec>Link font specification.
Implementations§
Source§impl LinkTheme
impl LinkTheme
Sourcepub const FIELD_NAMES: &[&str]
pub const FIELD_NAMES: &[&str]
All serialized field names for this widget theme, for TOML linting.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkTheme
impl<'de> Deserialize<'de> for LinkTheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LinkTheme
Auto Trait Implementations§
impl Freeze for LinkTheme
impl RefUnwindSafe for LinkTheme
impl Send for LinkTheme
impl Sync for LinkTheme
impl Unpin for LinkTheme
impl UnsafeUnpin for LinkTheme
impl UnwindSafe for LinkTheme
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