pub enum DatePickerComponent {
Date,
HourAndMinute,
}Expand description
A member of SwiftUI.DatePickerComponents.
HourMinuteAndSecond exists in the framework but is @available(macOS, unavailable) and @available(iOS, unavailable), so it is not here.
Variants§
Trait Implementations§
Source§impl Clone for DatePickerComponent
impl Clone for DatePickerComponent
impl Copy for DatePickerComponent
Source§impl Debug for DatePickerComponent
impl Debug for DatePickerComponent
impl Eq for DatePickerComponent
Source§impl From<Date> for DatePickerComponent
impl From<Date> for DatePickerComponent
Source§impl From<HourAndMinute> for DatePickerComponent
impl From<HourAndMinute> for DatePickerComponent
Source§fn from(_: HourAndMinute) -> Self
fn from(_: HourAndMinute) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DatePickerComponent
impl PartialEq for DatePickerComponent
impl StructuralPartialEq for DatePickerComponent
Auto Trait Implementations§
impl Freeze for DatePickerComponent
impl RefUnwindSafe for DatePickerComponent
impl Send for DatePickerComponent
impl Sync for DatePickerComponent
impl Unpin for DatePickerComponent
impl UnsafeUnpin for DatePickerComponent
impl UnwindSafe for DatePickerComponent
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