Trait geometry::union::Union

source ·
pub trait Union<T: ?Sized> {
    type Output;

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

Trait for calculating the union with another geometric object.

Required Associated Types§

source

type Output

The type of the output shape representing the union.

Required Methods§

source

fn union(&self, other: &T) -> Self::Output

Calculates the union of this shape with other.

Implementors§