pub struct TimeProps {
pub time: DayTime,
pub style: Style,
pub seconds: bool,
}Expand description
Full props (realize) for the time picker. style/seconds are set once at build; only the
value patches.
Fields§
§time: DayTime§style: Style§seconds: boolShow/edit seconds; honored on AppKit and Qt (the toolkits whose controls have a seconds field), a documented no-op elsewhere.
Trait Implementations§
impl Copy for TimeProps
impl StructuralPartialEq for TimeProps
Auto Trait Implementations§
impl Freeze for TimeProps
impl RefUnwindSafe for TimeProps
impl Send for TimeProps
impl Sync for TimeProps
impl Unpin for TimeProps
impl UnsafeUnpin for TimeProps
impl UnwindSafe for TimeProps
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more