pub struct Calendar { /* private fields */ }Expand description
A standalone calendar for date selection.
Implementations§
Source§impl Calendar
impl Calendar
Show Today/Clear footer buttons.
Sourcepub const fn show_outside_days(self, show: bool) -> Self
pub const fn show_outside_days(self, show: bool) -> Self
Show days from adjacent months in leading/trailing cells.
Sourcepub fn set_viewing(&self, ctx: &Context, year: i32, month: u32)
pub fn set_viewing(&self, ctx: &Context, year: i32, month: u32)
Navigate the calendar to the given year and month.
Auto Trait Implementations§
impl Freeze for Calendar
impl RefUnwindSafe for Calendar
impl Send for Calendar
impl Sync for Calendar
impl Unpin for Calendar
impl UnsafeUnpin for Calendar
impl UnwindSafe for Calendar
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