Struct freya_hooks::AccordionTheme
source · pub struct AccordionTheme {
pub color: &'static str,
pub background: &'static str,
}
Expand description
Theming properties for Accordion component.
Fields§
§color: &'static str
§background: &'static str
Trait Implementations§
source§impl Clone for AccordionTheme
impl Clone for AccordionTheme
source§fn clone(&self) -> AccordionTheme
fn clone(&self) -> AccordionTheme
Returns a copy 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 AccordionTheme
impl Debug for AccordionTheme
source§impl PartialEq<AccordionTheme> for AccordionTheme
impl PartialEq<AccordionTheme> for AccordionTheme
source§fn eq(&self, other: &AccordionTheme) -> bool
fn eq(&self, other: &AccordionTheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AccordionTheme
impl StructuralEq for AccordionTheme
impl StructuralPartialEq for AccordionTheme
Auto Trait Implementations§
impl RefUnwindSafe for AccordionTheme
impl Send for AccordionTheme
impl Sync for AccordionTheme
impl Unpin for AccordionTheme
impl UnwindSafe for AccordionTheme
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