#[non_exhaustive]pub struct ResolvedExpanderTheme {
pub header_height: f32,
pub arrow_icon_size: f32,
pub hover_background: Option<Rgba>,
pub arrow_color: Option<Rgba>,
pub font: ResolvedFontSpec,
pub border: ResolvedBorderSpec,
}Expand description
Expander / disclosure row geometry.
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.header_height: f32Collapsed header row height in logical pixels.
arrow_icon_size: f32Disclosure arrow size in logical pixels.
hover_background: Option<Rgba>Expander header background on hover.
arrow_color: Option<Rgba>Disclosure arrow/chevron color.
font: ResolvedFontSpecExpander font specification.
border: ResolvedBorderSpecExpander border specification.
Trait Implementations§
Source§impl Clone for ResolvedExpanderTheme
impl Clone for ResolvedExpanderTheme
Source§fn clone(&self) -> ResolvedExpanderTheme
fn clone(&self) -> ResolvedExpanderTheme
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 ResolvedExpanderTheme
impl Debug for ResolvedExpanderTheme
Source§impl<'de> Deserialize<'de> for ResolvedExpanderTheme
impl<'de> Deserialize<'de> for ResolvedExpanderTheme
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 ResolvedExpanderTheme
impl PartialEq for ResolvedExpanderTheme
Source§impl Serialize for ResolvedExpanderTheme
impl Serialize for ResolvedExpanderTheme
impl StructuralPartialEq for ResolvedExpanderTheme
Auto Trait Implementations§
impl Freeze for ResolvedExpanderTheme
impl RefUnwindSafe for ResolvedExpanderTheme
impl Send for ResolvedExpanderTheme
impl Sync for ResolvedExpanderTheme
impl Unpin for ResolvedExpanderTheme
impl UnsafeUnpin for ResolvedExpanderTheme
impl UnwindSafe for ResolvedExpanderTheme
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