pub trait Attributes {
    // Required method
    fn write_attributes<'a, 't, W: Write>(
        self,
        w: &mut TagOpening<'a, 't, W>
    ) -> Result;
}
Expand description

Represents a list of attributes.

Required Methods§

source

fn write_attributes<'a, 't, W: Write>( self, w: &mut TagOpening<'a, 't, W> ) -> Result

Writes the attributes to w.

Arguments
  • w - The tag opening to write to.

Implementors§

source§

impl Attributes for Empty

source§

impl<A: Attributes, B: Attributes> Attributes for Sum<A, B>

source§

impl<I: IntoIterator<Item = (Name, Value)>, Name, Value> Attributes for Iwhere Name: AttributeName, Value: AttributeValue,