#[non_exhaustive]pub enum CalendarComponent {
Todo(Todo),
Event(Event),
Venue(Venue),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for CalendarComponent
impl Clone for CalendarComponent
Source§fn clone(&self) -> CalendarComponent
fn clone(&self) -> CalendarComponent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CalendarComponent
impl Debug for CalendarComponent
Source§impl<'a> From<Component<'a>> for CalendarComponent
impl<'a> From<Component<'a>> for CalendarComponent
Source§fn from(component: Component<'_>) -> CalendarComponent
fn from(component: Component<'_>) -> CalendarComponent
Converts to this type from the input type.
Source§impl From<Event> for CalendarComponent
impl From<Event> for CalendarComponent
Source§impl From<Todo> for CalendarComponent
impl From<Todo> for CalendarComponent
Source§impl From<Venue> for CalendarComponent
impl From<Venue> for CalendarComponent
Source§impl FromStr for CalendarComponent
impl FromStr for CalendarComponent
Source§impl PartialEq for CalendarComponent
impl PartialEq for CalendarComponent
impl Eq for CalendarComponent
impl StructuralPartialEq for CalendarComponent
Auto Trait Implementations§
impl Freeze for CalendarComponent
impl RefUnwindSafe for CalendarComponent
impl Send for CalendarComponent
impl Sync for CalendarComponent
impl Unpin for CalendarComponent
impl UnwindSafe for CalendarComponent
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