Skip to main content

GroupSpec

Trait GroupSpec 

Source
pub trait GroupSpec {
    // Required method
    fn group_of(&self, count_tag: u32) -> Option<(u32, &[u32])>;
}
Expand description

Supplies repeating-group structure to the dictionary-driven decoder without truefix-core depending on truefix-dict (the dictionary implements this trait). See crate::decode_with_groups.

Required Methods§

Source

fn group_of(&self, count_tag: u32) -> Option<(u32, &[u32])>

If count_tag is a repeating-group count tag, return its (delimiter, member_tags).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§