pub enum ZmanValue {
Time(Zoned),
Duration(SignedDuration),
}Expand description
The computed value of a zman: either an instant or a duration.
Variants§
Time(Zoned)
An instant in time (e.g. sunrise, tzeis).
Duration(SignedDuration)
A length of time (a shaah zmanis).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZmanValue
impl RefUnwindSafe for ZmanValue
impl Send for ZmanValue
impl Sync for ZmanValue
impl Unpin for ZmanValue
impl UnsafeUnpin for ZmanValue
impl UnwindSafe for ZmanValue
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