Trait minidom::convert::IntoAttributeValue
[−]
[src]
pub trait IntoAttributeValue { fn into_attribute_value(self) -> Option<String>; }
A trait for types which can be converted to an attribute value.
Required Methods
fn into_attribute_value(self) -> Option<String>
Turns this into an attribute string, or None if it shouldn't be added.
Implementors
impl IntoAttributeValue for usize
impl IntoAttributeValue for u64
impl IntoAttributeValue for u32
impl IntoAttributeValue for u16
impl IntoAttributeValue for u8
impl IntoAttributeValue for isize
impl IntoAttributeValue for i64
impl IntoAttributeValue for i32
impl IntoAttributeValue for i16
impl IntoAttributeValue for i8
impl IntoAttributeValue for String
impl<'a> IntoAttributeValue for &'a String
impl<'a> IntoAttributeValue for &'a str
impl<T: IntoAttributeValue> IntoAttributeValue for Option<T>