pub enum AcrossPartitions {
Heterogeneous,
Uniform(Option<ScalarValue>),
}Expand description
Represents whether a constant expression’s value is uniform or varies across partitions. Has two variants:
Heterogeneous: The constant expression may have different values for different partitions.Uniform(Option<ScalarValue>): The constant expression has the same value across all partitions, or isNoneif the value is unknown.
Variants§
Heterogeneous
Uniform(Option<ScalarValue>)
Trait Implementations§
Source§impl Clone for AcrossPartitions
impl Clone for AcrossPartitions
Source§fn clone(&self) -> AcrossPartitions
fn clone(&self) -> AcrossPartitions
Returns a duplicate 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 Debug for AcrossPartitions
impl Debug for AcrossPartitions
Source§impl Default for AcrossPartitions
impl Default for AcrossPartitions
Source§fn default() -> AcrossPartitions
fn default() -> AcrossPartitions
Returns the “default value” for a type. Read more
Source§impl Display for AcrossPartitions
impl Display for AcrossPartitions
Source§impl PartialEq for AcrossPartitions
impl PartialEq for AcrossPartitions
impl Eq for AcrossPartitions
impl StructuralPartialEq for AcrossPartitions
Auto Trait Implementations§
impl Freeze for AcrossPartitions
impl !RefUnwindSafe for AcrossPartitions
impl Send for AcrossPartitions
impl Sync for AcrossPartitions
impl Unpin for AcrossPartitions
impl !UnwindSafe for AcrossPartitions
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§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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 more