pub struct EuvCalendarProps {
pub title: &'static str,
pub weekdays: Vec<EuvCalendarWeekday>,
pub days: Vec<EuvCalendarDay>,
pub selected: Signal<u32>,
}Expand description
Props for the euv_calendar component.
The component renders only what it is given: weekdays drives the header
row and days the grid. No date is computed here.
Fields§
§title: &'static strThe month caption rendered in the header row.
weekdays: Vec<EuvCalendarWeekday>The column headings, in display order.
days: Vec<EuvCalendarDay>The day cells, in display order.
selected: Signal<u32>The currently selected day number.
Trait Implementations§
Source§impl Clone for EuvCalendarProps
impl Clone for EuvCalendarProps
Source§impl Debug for EuvCalendarProps
impl Debug for EuvCalendarProps
Auto Trait Implementations§
impl Freeze for EuvCalendarProps
impl RefUnwindSafe for EuvCalendarProps
impl Send for EuvCalendarProps
impl Sync for EuvCalendarProps
impl Unpin for EuvCalendarProps
impl UnsafeUnpin for EuvCalendarProps
impl UnwindSafe for EuvCalendarProps
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