Trait stun_types::attribute::AttributeToRaw
source · pub trait AttributeToRaw: Attribute + Into<RawAttribute>{
// Required method
fn to_raw(&self) -> RawAttribute;
}Expand description
Automatically implemented trait for converting from a concrete Attribute to a
RawAttribute
Required Methods§
sourcefn to_raw(&self) -> RawAttribute
fn to_raw(&self) -> RawAttribute
Convert an Attribute to a RawAttribute
Object Safety§
This trait is not object safe.