pub struct Block<'a> {
pub name: Name<'a>,
pub attributes: Vec<(AttributeName<'a>, Option<AttributeValue<'a>>)>,
pub content: Cow<'a, str>,
}
Expand description
A block as defined in the SFC specifications.
Fields
name: Name<'a>
attributes: Vec<(AttributeName<'a>, Option<AttributeValue<'a>>)>
content: Cow<'a, str>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> UnwindSafe for Block<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more