Trait stun_types::attribute::AttributeToRaw

source ·
pub trait AttributeToRaw: Attribute + Into<RawAttribute>
where RawAttribute: for<'a> From<&'a Self>,
{ // Required method fn to_raw(&self) -> RawAttribute; }
Expand description

Automatically implemented trait for converting from a concrete Attribute to a RawAttribute

Required Methods§

source

fn to_raw(&self) -> RawAttribute

Convert an Attribute to a RawAttribute

Object Safety§

This trait is not object safe.

Implementors§