pub struct PointStampSummary<TS> {
pub retain: Option<usize>,
pub actions: Vec<TS>,
}
Expand description
Describes an action on a PointStamp
: truncation to length
followed by actions
.
Fields§
§retain: Option<usize>
Number of leading coordinates to retain.
A None
value indicates that all coordinates should be retained.
actions: Vec<TS>
Summary actions to apply to all coordinates.
If actions.len()
is greater than retain
, a timestamp should be extended by
T::minimum()
in order to be subjected to actions
.
Trait Implementations§
source§impl<TS: Clone> Clone for PointStampSummary<TS>
impl<TS: Clone> Clone for PointStampSummary<TS>
source§fn clone(&self) -> PointStampSummary<TS>
fn clone(&self) -> PointStampSummary<TS>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<TS: Debug> Debug for PointStampSummary<TS>
impl<TS: Debug> Debug for PointStampSummary<TS>
source§impl<TS: Default> Default for PointStampSummary<TS>
impl<TS: Default> Default for PointStampSummary<TS>
source§fn default() -> PointStampSummary<TS>
fn default() -> PointStampSummary<TS>
Returns the “default value” for a type. Read more
source§impl<'de, TS> Deserialize<'de> for PointStampSummary<TS>where
TS: Deserialize<'de>,
impl<'de, TS> Deserialize<'de> for PointStampSummary<TS>where
TS: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<TS: Hash> Hash for PointStampSummary<TS>
impl<TS: Hash> Hash for PointStampSummary<TS>
source§impl<TS: Ord> Ord for PointStampSummary<TS>
impl<TS: Ord> Ord for PointStampSummary<TS>
source§fn cmp(&self, other: &PointStampSummary<TS>) -> Ordering
fn cmp(&self, other: &PointStampSummary<TS>) -> Ordering
1.21.0 · 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<TS: PartialEq> PartialEq for PointStampSummary<TS>
impl<TS: PartialEq> PartialEq for PointStampSummary<TS>
source§impl<TS: PartialOrd> PartialOrd for PointStampSummary<TS>
impl<TS: PartialOrd> PartialOrd for PointStampSummary<TS>
source§impl<TS: PartialOrder> PartialOrder for PointStampSummary<TS>
impl<TS: PartialOrder> PartialOrder for PointStampSummary<TS>
source§impl<T: Timestamp> PathSummary<PointStamp<T>> for PointStampSummary<T::Summary>
impl<T: Timestamp> PathSummary<PointStamp<T>> for PointStampSummary<T::Summary>
source§fn results_in(&self, timestamp: &PointStamp<T>) -> Option<PointStamp<T>>
fn results_in(&self, timestamp: &PointStamp<T>) -> Option<PointStamp<T>>
Advances a timestamp according to the timestamp actions on the path. Read more
source§impl<TS> Serialize for PointStampSummary<TS>where
TS: Serialize,
impl<TS> Serialize for PointStampSummary<TS>where
TS: Serialize,
impl<TS: Eq> Eq for PointStampSummary<TS>
impl<TS> StructuralPartialEq for PointStampSummary<TS>
Auto Trait Implementations§
impl<TS> Freeze for PointStampSummary<TS>
impl<TS> RefUnwindSafe for PointStampSummary<TS>where
TS: RefUnwindSafe,
impl<TS> Send for PointStampSummary<TS>where
TS: Send,
impl<TS> Sync for PointStampSummary<TS>where
TS: Sync,
impl<TS> Unpin for PointStampSummary<TS>where
TS: Unpin,
impl<TS> UnwindSafe for PointStampSummary<TS>where
TS: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> PreferredContainer for T
impl<T> PreferredContainer for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.