pub trait MutSetOps<T> {
Show 13 methods fn munordered(&mut self); fn mordered(&mut self, asc: bool)
    where
        f64: From<T>
; fn mindexed(&mut self, asc: bool)
    where
        f64: From<T>
; fn mranked(&mut self, asc: bool); fn msame(&mut self, s: &mut Self)
    where
        f64: From<T>
; fn mdelete(&mut self, item: T) -> bool; fn mdeleteall(&mut self, item: T) -> usize; fn minsert(&mut self, item: T); fn mreverse(&mut self); fn mnonrepeat(&mut self); fn munion(&mut self, s: &Self); fn mintersection(&mut self, s: &Self); fn mdifference(&mut self, s: &Self);
}
Expand description

Mutable methods for &mut Set

Required Methods

Makes a Set unordered

Makes a Set ordered

Makes any Set indexed

Converts any Set type to ranked

General converter: s -> Set of the same type and order as self

Deletes the first item from self

Deletes all occurrences of a matching item from self, returns their count

Inserts an item of the same end-type to self

reverses the vector of explicit sets and index of indexed sets

Deletes all repetitions

Union of two sets of the same type

Intersection of two sets of the same type

Removing s from self (i.e. self-s)

Implementors