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 const fn fixed_range(start: ExtendedTime, end: ExtendedTime) -> Self
Trait Implementations§
impl Eq for TimeSpan
Source§impl Ord for TimeSpan
impl Ord for TimeSpan
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TimeSpan
impl PartialOrd for TimeSpan
impl StructuralPartialEq for TimeSpan
Auto Trait Implementations§
impl Freeze for TimeSpan
impl RefUnwindSafe for TimeSpan
impl Send for TimeSpan
impl Sync for TimeSpan
impl Unpin for TimeSpan
impl UnsafeUnpin 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