#[non_exhaustive]pub struct ResolvedLinkTheme {
pub visited_text_color: Rgba,
pub underline_enabled: bool,
pub background_color: Rgba,
pub hover_background: Rgba,
pub hover_text_color: Rgba,
pub active_text_color: Rgba,
pub disabled_text_color: Rgba,
pub font: ResolvedFontSpec,
}Expand description
Hyperlink colors and underline setting.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.visited_text_color: RgbaVisited link text color.
underline_enabled: boolWhether links are underlined.
background_color: RgbaLink background fill (typically transparent).
hover_background: RgbaLink background on hover.
hover_text_color: RgbaLink text color on hover.
active_text_color: RgbaLink text color when pressed/active.
disabled_text_color: RgbaLink text color when disabled.
font: ResolvedFontSpecLink font specification.
Trait Implementations§
Source§impl Clone for ResolvedLinkTheme
impl Clone for ResolvedLinkTheme
Source§fn clone(&self) -> ResolvedLinkTheme
fn clone(&self) -> ResolvedLinkTheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedLinkTheme
impl Debug for ResolvedLinkTheme
Source§impl<'de> Deserialize<'de> for ResolvedLinkTheme
impl<'de> Deserialize<'de> for ResolvedLinkTheme
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
Source§impl PartialEq for ResolvedLinkTheme
impl PartialEq for ResolvedLinkTheme
Source§impl Serialize for ResolvedLinkTheme
impl Serialize for ResolvedLinkTheme
impl StructuralPartialEq for ResolvedLinkTheme
Auto Trait Implementations§
impl Freeze for ResolvedLinkTheme
impl RefUnwindSafe for ResolvedLinkTheme
impl Send for ResolvedLinkTheme
impl Sync for ResolvedLinkTheme
impl Unpin for ResolvedLinkTheme
impl UnsafeUnpin for ResolvedLinkTheme
impl UnwindSafe for ResolvedLinkTheme
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