Trait IntoAttributeValue

pub trait IntoAttributeValue {
    type Output;

    // Required method
    fn into_attribute_value(self) -> Self::Output;
}
Expand description

Declares that this type can be converted into some other type, which is a valid attribute value.

Required Associated Types§

type Output

The attribute value into which this type can be converted.

Required Methods§

fn into_attribute_value(self) -> Self::Output

Consumes this value, transforming it into an attribute value.

Implementors§

§

impl IntoAttributeValue for TextProp

§

type Output = Arc<dyn Fn() -> Oco<'static, str> + Send + Sync>

§

impl<T> IntoAttributeValue for T
where T: AttributeValue,

§

type Output = T