Struct freya_hooks::Theme
source · pub struct Theme {
pub name: &'static str,
pub body: BodyTheme,
pub button: ButtonTheme,
pub switch: SwitchTheme,
pub scrollbar: ScrollbarTheme,
pub slider: SliderTheme,
pub tooltip: TooltipTheme,
pub external_link: ExternalLinkTheme,
pub dropdown: DropdownTheme,
pub dropdown_item: DropdownItemTheme,
pub accordion: AccordionTheme,
pub loader: LoaderTheme,
}
Expand description
Theming properties for Themes.
Fields§
§name: &'static str
§body: BodyTheme
§switch: SwitchTheme
§scrollbar: ScrollbarTheme
§slider: SliderTheme
§tooltip: TooltipTheme
§external_link: ExternalLinkTheme
§dropdown: DropdownTheme
§dropdown_item: DropdownItemTheme
§accordion: AccordionTheme
§loader: LoaderTheme
Trait Implementations§
source§impl PartialEq<Theme> for Theme
impl PartialEq<Theme> for Theme
impl Eq for Theme
impl StructuralEq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more