Trait Attributes

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

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 I
where Name: AttributeName, Value: AttributeValue,