Struct bitstring_trees::set::RadixSet [−][src]
pub struct RadixSet<S: BitString> { /* fields omitted */ }
Expand description
RadixSet
is a binary tree with path-shortening; leafs mark
prefixes included in the set, inner nodes have no semantic value.
If a prefix is in the set, all strings prefixed by it are also considered part of the set.
If an inner node would have only a single child, the paths to and from it could be shortened - therefor all inner nodes have two children.
Implementations
Read-only access to the tree.
An empty set doesn’t have any nodes (i.e. None
).
Iterate over all prefixes in the set
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for RadixSet<S> where
S: RefUnwindSafe,
impl<S> UnwindSafe for RadixSet<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more