Struct chronologic::TimeSet
source · [−]pub struct TimeSet<T: TimePoint>(_);Expand description
Implementations
Trait Implementations
sourceimpl<T> Add<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> Add<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourceimpl<T> Add<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> Add<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourceimpl<T> Add<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> Add<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourceimpl<T> Add<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> Add<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
type Output = TimeInterval<T>
type Output = TimeInterval<T>
The resulting type after applying the + operator.
sourceimpl<T> Add<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> Add<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourceimpl<T> Add<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> Add<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourceimpl<T> AddAssign<Range<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<Range<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: Range<TimeValue>)
fn add_assign(&mut self, other: Range<TimeValue>)
Performs the += operation. Read more
sourceimpl<T> AddAssign<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: RangeFrom<TimeValue>)
fn add_assign(&mut self, other: RangeFrom<TimeValue>)
Performs the += operation. Read more
sourceimpl<T> AddAssign<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: RangeInclusive<TimeValue>)
fn add_assign(&mut self, other: RangeInclusive<TimeValue>)
Performs the += operation. Read more
sourceimpl<T> AddAssign<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: RangeTo<TimeValue>)
fn add_assign(&mut self, other: RangeTo<TimeValue>)
Performs the += operation. Read more
sourceimpl<T> AddAssign<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: RangeToInclusive<TimeValue>)
fn add_assign(&mut self, other: RangeToInclusive<TimeValue>)
Performs the += operation. Read more
sourceimpl<T> AddAssign<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: TimeSpan)
fn add_assign(&mut self, other: TimeSpan)
Performs the += operation. Read more
sourceimpl<T> AddAssign<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
impl<T> AddAssign<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Add<TimeValue, Output = T>,
sourcefn add_assign(&mut self, other: TimeSpans)
fn add_assign(&mut self, other: TimeSpans)
Performs the += operation. Read more
sourceimpl<T: TimePoint> AddAssign<TimeValue> for TimeSet<T> where
TimeInterval<T>: AddAssign<TimeValue>,
impl<T: TimePoint> AddAssign<TimeValue> for TimeSet<T> where
TimeInterval<T>: AddAssign<TimeValue>,
sourcefn add_assign(&mut self, t: TimeValue)
fn add_assign(&mut self, t: TimeValue)
Performs the += operation. Read more
sourceimpl<T: TimePoint, TW> BitAnd<TW> for TimeSet<T> where
TW: TimeWindow<TimePoint = T> + TimeConvex,
impl<T: TimePoint, TW> BitAnd<TW> for TimeSet<T> where
TW: TimeWindow<TimePoint = T> + TimeConvex,
sourceimpl<T: TimePoint, TW: TimeWindow<TimePoint = T> + TimeConvex> BitAndAssign<TW> for TimeSet<T>
impl<T: TimePoint, TW: TimeWindow<TimePoint = T> + TimeConvex> BitAndAssign<TW> for TimeSet<T>
sourcefn bitand_assign(&mut self, other: TW)
fn bitand_assign(&mut self, other: TW)
Performs the &= operation. Read more
sourceimpl<T: TimePoint> BitAndAssign<TimeSet<T>> for TimeSet<T>
impl<T: TimePoint> BitAndAssign<TimeSet<T>> for TimeSet<T>
sourcefn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the &= operation. Read more
sourceimpl<T: TimePoint, TW: TimeWindow<TimePoint = T> + Not<Output = TimeSet<T>>> BitOr<TW> for TimeSet<T>
impl<T: TimePoint, TW: TimeWindow<TimePoint = T> + Not<Output = TimeSet<T>>> BitOr<TW> for TimeSet<T>
sourceimpl<T: TimePoint, TW: TimeWindow<TimePoint = T> + Not<Output = TimeSet<T>>> BitOrAssign<TW> for TimeSet<T>
impl<T: TimePoint, TW: TimeWindow<TimePoint = T> + Not<Output = TimeSet<T>>> BitOrAssign<TW> for TimeSet<T>
sourcefn bitor_assign(&mut self, other: TW)
fn bitor_assign(&mut self, other: TW)
Performs the |= operation. Read more
sourceimpl<T, TW> FromIterator<TW> for TimeSet<T> where
T: TimePoint,
TW: TimeConvex + TimeWindow<TimePoint = T> + Not<Output = Self>,
impl<T, TW> FromIterator<TW> for TimeSet<T> where
T: TimePoint,
TW: TimeConvex + TimeWindow<TimePoint = T> + Not<Output = Self>,
sourcefn from_iter<I: IntoIterator<Item = TW>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = TW>>(iter: I) -> Self
Creates a value from an iterator. Read more
sourceimpl<T: TimePoint> IntoIterator for TimeSet<T>
impl<T: TimePoint> IntoIterator for TimeSet<T>
sourceimpl<T: PartialEq + TimePoint> PartialEq<TimeSet<T>> for TimeSet<T>
impl<T: PartialEq + TimePoint> PartialEq<TimeSet<T>> for TimeSet<T>
sourceimpl<T> Sub<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> Sub<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourceimpl<T> Sub<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> Sub<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourceimpl<T> Sub<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> Sub<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourceimpl<T> Sub<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> Sub<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
type Output = TimeInterval<T>
type Output = TimeInterval<T>
The resulting type after applying the - operator.
sourceimpl<T> Sub<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> Sub<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourceimpl<T> Sub<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> Sub<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourceimpl<T> SubAssign<Range<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<Range<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: Range<TimeValue>)
fn sub_assign(&mut self, other: Range<TimeValue>)
Performs the -= operation. Read more
sourceimpl<T> SubAssign<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<RangeFrom<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: RangeFrom<TimeValue>)
fn sub_assign(&mut self, other: RangeFrom<TimeValue>)
Performs the -= operation. Read more
sourceimpl<T> SubAssign<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<RangeInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: RangeInclusive<TimeValue>)
fn sub_assign(&mut self, other: RangeInclusive<TimeValue>)
Performs the -= operation. Read more
sourceimpl<T> SubAssign<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<RangeTo<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: RangeTo<TimeValue>)
fn sub_assign(&mut self, other: RangeTo<TimeValue>)
Performs the -= operation. Read more
sourceimpl<T> SubAssign<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<RangeToInclusive<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: RangeToInclusive<TimeValue>)
fn sub_assign(&mut self, other: RangeToInclusive<TimeValue>)
Performs the -= operation. Read more
sourceimpl<T> SubAssign<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<TimeInterval<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: TimeSpan)
fn sub_assign(&mut self, other: TimeSpan)
Performs the -= operation. Read more
sourceimpl<T> SubAssign<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
impl<T> SubAssign<TimeSet<TimeValue>> for TimeSet<T> where
T: TimePoint + Sub<TimeValue, Output = T>,
sourcefn sub_assign(&mut self, other: TimeSpans)
fn sub_assign(&mut self, other: TimeSpans)
Performs the -= operation. Read more
sourceimpl<T: TimePoint> SubAssign<TimeValue> for TimeSet<T> where
TimeInterval<T>: SubAssign<TimeValue>,
impl<T: TimePoint> SubAssign<TimeValue> for TimeSet<T> where
TimeInterval<T>: SubAssign<TimeValue>,
sourcefn sub_assign(&mut self, t: TimeValue)
fn sub_assign(&mut self, t: TimeValue)
Performs the -= operation. Read more
sourceimpl<T: TimePoint> TimeRelation for TimeSet<T>
impl<T: TimePoint> TimeRelation for TimeSet<T>
sourcefn contains<I>(&self, t: &I) -> bool where
Self::TimePoint: PartialOrd<I>,
I: PartialOrd<Self::TimePoint>,
fn contains<I>(&self, t: &I) -> bool where
Self::TimePoint: PartialOrd<I>,
I: PartialOrd<Self::TimePoint>,
Checks if a timepoint is inside this time window
sourceimpl<T: TimePoint> TimeWindow for TimeSet<T>
impl<T: TimePoint> TimeWindow for TimeSet<T>
sourcefn is_singleton(&self) -> bool
fn is_singleton(&self) -> bool
Checks if this time window contains exactly one value Read more
sourcefn is_bounded(&self) -> bool
fn is_bounded(&self) -> bool
Checks if this time window is bounded Read more
sourcefn is_low_bounded(&self) -> bool
fn is_low_bounded(&self) -> bool
Checks if this time window has a finite lower bound Read more
sourcefn is_up_bounded(&self) -> bool
fn is_up_bounded(&self) -> bool
Checks if this time window has a finite upper bound Read more
sourcefn lower_bound(&self) -> Self::TimePoint
fn lower_bound(&self) -> Self::TimePoint
The lower bound of the time window Read more
sourcefn upper_bound(&self) -> Self::TimePoint
fn upper_bound(&self) -> Self::TimePoint
The upper bound of the time window Read more
impl<T: Eq + TimePoint> Eq for TimeSet<T>
impl<T: TimePoint> StructuralEq for TimeSet<T>
impl<T: TimePoint> StructuralPartialEq for TimeSet<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for TimeSet<T> where
T: RefUnwindSafe,
impl<T> Send for TimeSet<T> where
T: Send,
impl<T> Sync for TimeSet<T> where
T: Sync,
impl<T> Unpin for TimeSet<T> where
T: Unpin,
impl<T> UnwindSafe for TimeSet<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more