group

Macro group 

Source
macro_rules! group {
    (($ty: ident), $attr: meta $(,)?) => { ... };
}
Expand description

Declare a channel group type.

p_chan::group!(
    (Pixel),
    doc = "A pixel, made up of individual color channels",
);

p_chan::group!(
    (Frame),
    doc = "An audio frame, made up of individual speaker channels",
);