pub struct LinkTheme {
pub color: Option<Rgba>,
pub visited: Option<Rgba>,
pub background: Option<Rgba>,
pub hover_bg: Option<Rgba>,
pub underline: Option<bool>,
}Expand description
Hyperlink colors and underline setting.
Fields§
§color: Option<Rgba>Link text color.
visited: Option<Rgba>Visited link text color.
background: Option<Rgba>Link background fill (typically transparent).
hover_bg: Option<Rgba>Link background on hover.
underline: Option<bool>Whether links are underlined.
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