pub trait SetLike<I> {
// Required methods
fn get_estimated_union_cardinality(
&self,
self_cardinality: I,
other: &Self,
other_cardinality: I,
) -> EstimatedUnionCardinalities<I>;
fn get_cardinality(&self) -> I;
}
Required Methods§
Sourcefn get_estimated_union_cardinality(
&self,
self_cardinality: I,
other: &Self,
other_cardinality: I,
) -> EstimatedUnionCardinalities<I>
fn get_estimated_union_cardinality( &self, self_cardinality: I, other: &Self, other_cardinality: I, ) -> EstimatedUnionCardinalities<I>
Returns the estimated intersection and left and right difference cardinality between two sets.
Sourcefn get_cardinality(&self) -> I
fn get_cardinality(&self) -> I
Returns the cardinality of the set.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.