pub struct Group {
pub semantics: GroupSemantics,
pub mid_tags: Vec<String>,
}Expand description
Group Attribute
The list of identification tags is optional in the grammar, so a group without any tag is valid and simply groups no media description. Grouping semantics that need at least one tag, such as BUNDLE (RFC 8843, section 5), have to be rejected by the application.
The grammar separates the semantics and the tags with a single space, but any whitespace is accepted when parsing and a single space is written back.
Fields§
§semantics: GroupSemanticsImplementations§
Source§impl Group
impl Group
pub fn new(semantics: GroupSemantics) -> Self
pub fn add_mid_tag(&mut self, mid_tag: impl ToString)
Trait Implementations§
impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Forget for Group
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more