pub struct CarouselResponse {
pub response: Response,
pub active_index: usize,
pub changed: bool,
}Expand description
Response from a carousel.
Fields§
§response: ResponseThe UI response.
active_index: usizeThe currently active (centered) item index.
changed: boolWhether the active index changed this frame.
Auto Trait Implementations§
impl Freeze for CarouselResponse
impl !RefUnwindSafe for CarouselResponse
impl Send for CarouselResponse
impl Sync for CarouselResponse
impl Unpin for CarouselResponse
impl UnsafeUnpin for CarouselResponse
impl !UnwindSafe for CarouselResponse
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