Skip to main content

UnionWith

Trait UnionWith 

Source
pub trait UnionWith<'a> {
    // Required method
    fn union_with(
        self,
        other: impl Into<Cow<'a, Set<'a>>>,
    ) -> UnionSetBuilder<'a>;
}
Expand description

Trait to daisy-chain SetBuilders together into UnionSetBuilders.

Required Methods§

Source

fn union_with(self, other: impl Into<Cow<'a, Set<'a>>>) -> UnionSetBuilder<'a>

Combine this Set together with another into a UnionSet.

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.

Implementors§

Source§

impl<'a> UnionWith<'a> for FilterSetBuilder<'a>

Source§

impl<'a> UnionWith<'a> for UnionSetBuilder<'a>