functora-egui 0.2.0

shadcn/ui-inspired widget library for egui - buttons, inputs, selects, dialogs, and 70+ more components with light/dark theming
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Carousel builder struct -- a content slider with navigation.

/// A carousel: horizontally scrollable content with prev/next.
#[must_use]
pub struct Carousel {
    pub(crate) item_count: usize,
}

impl Carousel {
    pub fn new(item_count: usize) -> Self {
        Self { item_count }
    }
}