Union

Trait Union 

Source
pub trait Union<Rhs = Self> {
    type Output;

    // Required method
    fn union(&self, rhs: &Rhs) -> Self::Output;
}
Expand description

Defines a Set with every element of both input Sets.

S_out = { x | x in S_left or x in S_right }

Required Associated Types§

Required Methods§

Source

fn union(&self, rhs: &Rhs) -> Self::Output

Implementors§