pub struct AccordionItem {
pub id: String,
pub header: String,
pub content: String,
pub expanded: bool,
}Expand description
An accordion item with header and content.
Fields§
§id: String§header: String§content: String§expanded: boolAuto Trait Implementations§
impl Freeze for AccordionItem
impl RefUnwindSafe for AccordionItem
impl Send for AccordionItem
impl Sync for AccordionItem
impl Unpin for AccordionItem
impl UnsafeUnpin for AccordionItem
impl UnwindSafe for AccordionItem
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