pub struct AccordionResponse {
pub response: Response,
pub clicked: Option<usize>,
pub open: Vec<usize>,
}Expand description
Response from showing an accordion
Fields§
§response: ResponseThe UI response
clicked: Option<usize>Index of section that was clicked (if any)
open: Vec<usize>Indices of currently open sections
Auto Trait Implementations§
impl Freeze for AccordionResponse
impl !RefUnwindSafe for AccordionResponse
impl Send for AccordionResponse
impl Sync for AccordionResponse
impl Unpin for AccordionResponse
impl UnsafeUnpin for AccordionResponse
impl !UnwindSafe for AccordionResponse
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