pub trait MutSetOps<T> {
    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 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 an item of the same end-type from self

Inserts an item of the same end-type to self

reverses the vector of explicit sets and index of indexed sets

Deletes any 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