Struct opening_hours_syntax::rules::time::TimeSpan
source · pub struct TimeSpan {
pub range: Range<Time>,
pub open_end: bool,
pub repeats: Option<Duration>,
}Fields§
§range: Range<Time>§open_end: bool§repeats: Option<Duration>Implementations§
source§impl TimeSpan
impl TimeSpan
pub fn fixed_range(start: ExtendedTime, end: ExtendedTime) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TimeSpan
impl Send for TimeSpan
impl Sync for TimeSpan
impl Unpin for TimeSpan
impl UnwindSafe for TimeSpan
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