Struct sdset::duo::OpBuilder [−][src]
pub struct OpBuilder<'a, T: 'a> { /* fields omitted */ }Type used to make a set operation on two slices only.
Methods
impl<'a, T> OpBuilder<'a, T>[src]
impl<'a, T> OpBuilder<'a, T>pub fn new(a: &'a Set<T>, b: &'a Set<T>) -> Self[src]
pub fn new(a: &'a Set<T>, b: &'a Set<T>) -> SelfConstruct a type with two slices.
pub fn union(self) -> Union<'a, T>[src]
pub fn union(self) -> Union<'a, T>Prepare the two slices for the union set operation.
pub fn intersection(self) -> Intersection<'a, T>[src]
pub fn intersection(self) -> Intersection<'a, T>Prepare the two slices for the intersection set operation.
pub fn difference(self) -> Difference<'a, T>[src]
pub fn difference(self) -> Difference<'a, T>Prepare the two slices for the difference set operation.
pub fn symmetric_difference(self) -> SymmetricDifference<'a, T>[src]
pub fn symmetric_difference(self) -> SymmetricDifference<'a, T>Prepare the two slices for the difference set operation.
Trait Implementations
impl<'a, T: Copy + 'a> Copy for OpBuilder<'a, T>[src]
impl<'a, T: Copy + 'a> Copy for OpBuilder<'a, T>impl<'a, T: Clone + 'a> Clone for OpBuilder<'a, T>[src]
impl<'a, T: Clone + 'a> Clone for OpBuilder<'a, T>