pub trait IntoAttribute {
    fn into_attribute(self, cx: Scope) -> Attribute;
}
Expand description

Converts some type into an Attribute.

This is implemented by default for Rust primitive and string types.

Required Methods§

Converts the object into an Attribute.

Implementations on Foreign Types§

Implementors§