pub struct Product<TOuter, TInner> {
pub outer: TOuter,
pub inner: TInner,
}Expand description
A nested pair of timestamps, one outer and one inner.
Fields§
§outer: TOuterOuter timestamp.
inner: TInnerInner timestamp.
Implementations§
Trait Implementations§
Source§impl<TOuter, TInner> Archive for Product<TOuter, TInner>
impl<TOuter, TInner> Archive for Product<TOuter, TInner>
Source§type Archived = ArchivedProduct<TOuter, TInner>
type Archived = ArchivedProduct<TOuter, TInner>
The archived representation of this type. Read more
impl<TOuter: Copy, TInner: Copy> Copy for Product<TOuter, TInner>
Source§impl<TOuter: Debug, TInner: Debug> Debug for Product<TOuter, TInner>
Debug implementation to avoid seeing fully qualified path names.
impl<TOuter: Debug, TInner: Debug> Debug for Product<TOuter, TInner>
Debug implementation to avoid seeing fully qualified path names.
Source§impl<__D: Fallible + ?Sized, TOuter, TInner> Deserialize<Product<TOuter, TInner>, __D> for Archived<Product<TOuter, TInner>>
impl<__D: Fallible + ?Sized, TOuter, TInner> Deserialize<Product<TOuter, TInner>, __D> for Archived<Product<TOuter, TInner>>
impl<TOuter: Eq, TInner: Eq> Eq for Product<TOuter, TInner>
Source§impl<TOuter, TInner> IsNone for Product<TOuter, TInner>
impl<TOuter, TInner> IsNone for Product<TOuter, TInner>
Source§impl<T1: Lattice, T2: Lattice> Lattice for Product<T1, T2>
impl<T1: Lattice, T2: Lattice> Lattice for Product<T1, T2>
Source§fn join(&self, other: &Product<T1, T2>) -> Product<T1, T2>
fn join(&self, other: &Product<T1, T2>) -> Product<T1, T2>
The smallest element greater than or equal to both arguments. Read more
Source§fn meet(&self, other: &Product<T1, T2>) -> Product<T1, T2>
fn meet(&self, other: &Product<T1, T2>) -> Product<T1, T2>
The largest element less than or equal to both arguments. Read more
Source§fn join_assign(&mut self, other: &Self)where
Self: Sized,
fn join_assign(&mut self, other: &Self)where
Self: Sized,
Updates
self to the smallest element greater than or equal to both
arguments. Read moreSource§fn meet_assign(&mut self, other: &Self)where
Self: Sized,
fn meet_assign(&mut self, other: &Self)where
Self: Sized,
Updates
self to the largest element less than or equal to both
arguments. Read moreSource§fn advance_by(&mut self, frontier: AntichainRef<'_, Self>)where
Self: Sized,
fn advance_by(&mut self, frontier: AntichainRef<'_, Self>)where
Self: Sized,
Advances self to the largest time indistinguishable under
frontier. Read moreSource§impl<TOuter: Ord, TInner: Ord> Ord for Product<TOuter, TInner>
impl<TOuter: Ord, TInner: Ord> Ord for Product<TOuter, TInner>
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<TOuter: PartialEq, TInner: PartialEq> PartialEq for Product<TOuter, TInner>
impl<TOuter: PartialEq, TInner: PartialEq> PartialEq for Product<TOuter, TInner>
Source§impl<TOuter: PartialOrd, TInner: PartialOrd> PartialOrd for Product<TOuter, TInner>
impl<TOuter: PartialOrd, TInner: PartialOrd> PartialOrd for Product<TOuter, TInner>
Source§impl<TOuter: PartialOrder, TInner: PartialOrder> PartialOrder for Product<TOuter, TInner>
impl<TOuter: PartialOrder, TInner: PartialOrder> PartialOrder for Product<TOuter, TInner>
Source§impl<TOuter, TInner> SizeOf for Product<TOuter, TInner>
impl<TOuter, TInner> SizeOf for Product<TOuter, TInner>
Source§fn size_of_children(&self, context: &mut Context)
fn size_of_children(&self, context: &mut Context)
Gets the size of all “children” owned by this value, not including the
size of the value itself. Read more
Source§fn size_of_with_context(&self, context: &mut Context)
fn size_of_with_context(&self, context: &mut Context)
Adds the size of the current value to the given
Context,
including both the size of the value itself and all of its childrenimpl<TOuter, TInner> StructuralPartialEq for Product<TOuter, TInner>
Source§impl<TOuter, TInner> SupportsRoaring for Product<TOuter, TInner>
impl<TOuter, TInner> SupportsRoaring for Product<TOuter, TInner>
Source§fn supports_roaring32(&self) -> bool
fn supports_roaring32(&self) -> bool
Returns
true if this key type can be represented in a 32-bit roaring
bitmap.Source§fn roaring_u32_offset_dyn_checked(&self, min: &DynData) -> u32
fn roaring_u32_offset_dyn_checked(&self, min: &DynData) -> u32
Like
roaring_u32_offset_dyn, but
panics when the offset cannot be computed.Source§impl<TOuter, TInner> Timestamp for Product<TOuter, TInner>
impl<TOuter, TInner> Timestamp for Product<TOuter, TInner>
Source§const NESTING_DEPTH: usize
const NESTING_DEPTH: usize
Nesting depth of the circuit running this clock. Read more
type Nested = Product<Product<TOuter, TInner>, u32>
fn minimum() -> Self
Source§fn clock_start() -> Self
fn clock_start() -> Self
The value of the timestamp when the clock starts ticking. Read more
Source§fn checked_recede(&self, scope: Scope) -> Option<Self>
fn checked_recede(&self, scope: Scope) -> Option<Self>
Like
recede, but returns None if the clock at level scope is
equal to zero (i.e., we are running the first clock cycle) and hence
cannot be decremented.Source§fn epoch_start(&self, scope: Scope) -> Self
fn epoch_start(&self, scope: Scope) -> Self
Returns the first time stamp of the current clock epoch in
scope.Auto Trait Implementations§
impl<TOuter, TInner> Freeze for Product<TOuter, TInner>
impl<TOuter, TInner> RefUnwindSafe for Product<TOuter, TInner>where
TOuter: RefUnwindSafe,
TInner: RefUnwindSafe,
impl<TOuter, TInner> Send for Product<TOuter, TInner>
impl<TOuter, TInner> Sync for Product<TOuter, TInner>
impl<TOuter, TInner> Unpin for Product<TOuter, TInner>
impl<TOuter, TInner> UnsafeUnpin for Product<TOuter, TInner>where
TOuter: UnsafeUnpin,
TInner: UnsafeUnpin,
impl<TOuter, TInner> UnwindSafe for Product<TOuter, TInner>where
TOuter: UnwindSafe,
TInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Comparable for T
impl<T> Comparable for T
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> CustomError for T
impl<T> CustomError for T
impl<T> DBData for Twhere
T: Default + Clone + Eq + Ord + Hash + SizeOf + Send + Sync + Debug + ArchivedDBData + IsNone + SupportsRoaring + 'static,
<T as IsNone>::Inner: ArchivedDBData,
Source§impl<T> Data for Twhere
T: DBData,
impl<T> Data for Twhere
T: DBData,
Source§fn default_hash(&self) -> u64
fn default_hash(&self) -> u64
Compute a hash of the object using default hasher and seed.
fn dyn_hash(&self, hasher: &mut dyn Hasher)
Source§fn as_data(&self) -> &(dyn Data + 'static)
fn as_data(&self) -> &(dyn Data + 'static)
Cast any type that implements this trait to
&dyn Data. Read moreSource§fn as_data_mut(&mut self) -> &mut (dyn Data + 'static)
fn as_data_mut(&mut self) -> &mut (dyn Data + 'static)
Cast any type that implements this trait to
&mut dyn Data. Read moreimpl<T> Data for Twhere
T: Clone + 'static,
Source§impl<T> DeserializableDyn for Twhere
T: ArchivedDBData,
impl<T> DeserializableDyn for Twhere
T: ArchivedDBData,
Source§unsafe fn deserialize_from_bytes_with(
&mut self,
bytes: &[u8],
pos: usize,
deserializer: &mut Deserializer,
)
unsafe fn deserialize_from_bytes_with( &mut self, bytes: &[u8], pos: usize, deserializer: &mut Deserializer, )
Deserialize
self from the given slice and offset. Read moreSource§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<V> Erase<dyn Data> for V
impl<V> Erase<dyn Data> for V
Source§fn erase(&self) -> &(dyn Data + 'static)
fn erase(&self) -> &(dyn Data + 'static)
Convert a reference to
self into a reference to Trait.Source§fn erase_mut(&mut self) -> &mut (dyn Data + 'static)
fn erase_mut(&mut self) -> &mut (dyn Data + 'static)
Convert a mutable reference to
self into a mutable reference to Trait.Source§fn erase_archived(
archived: &<V as Archive>::Archived,
) -> &<dyn Data as ArchiveTrait>::Archived
fn erase_archived( archived: &<V as Archive>::Archived, ) -> &<dyn Data as ArchiveTrait>::Archived
Convert a reference to an archived representation of
Self into a reference
to a trait object of type Trait::Archived.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.