Struct freya_components::AccordionProps
source · pub struct AccordionProps<'a> {
pub theme: Option<AccordionThemeWith>,
pub children: Element<'a>,
pub summary: Element<'a>,
}
Expand description
Accordion
component properties.
Fields§
§theme: Option<AccordionThemeWith>
Theme override.
children: Element<'a>
Inner children for the Accordion.
summary: Element<'a>
Summary element.
Implementations§
source§impl<'a> AccordionProps<'a>
impl<'a> AccordionProps<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AccordionProps<'a>
impl<'a> !Send for AccordionProps<'a>
impl<'a> !Sync for AccordionProps<'a>
impl<'a> Unpin for AccordionProps<'a>
impl<'a> !UnwindSafe for AccordionProps<'a>
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