pub struct Group {
pub semantics: Semantics,
pub contents: Vec<Content>,
}
Expand description
A semantic group of contents.
Fields§
§semantics: Semantics
Semantics of the grouping.
contents: Vec<Content>
List of contents that should be grouped with each other.
Trait Implementations§
Source§impl TryFrom<Element> for Group
impl TryFrom<Element> for Group
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin 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