Trait AbstractAttributes

Source
pub trait AbstractAttributes {
    // Required method
    fn add_abstract_attributes<A: Into<Attribute>>(
        self,
        attrs: impl IntoIterator<Item = A>,
    ) -> Self;
}
Expand description

Trait for adding abstract attributes to something

Required Methods§

Source

fn add_abstract_attributes<A: Into<Attribute>>( self, attrs: impl IntoIterator<Item = A>, ) -> Self

Add the provided attrs

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.

Implementations on Foreign Types§

Source§

impl AbstractAttributes for Response

Trait for adding abstract events to a Response

Source§

fn add_abstract_attributes<A: Into<Attribute>>( self, attrs: impl IntoIterator<Item = A>, ) -> Self

Implementors§