Trait gir_parser::prelude::XmlValue

source ·
pub trait XmlValue: Sized {
    // Required methods
    fn serialize(&self) -> String;
    fn deserialize(s: &str) -> Result<Self, String>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl XmlValue for bool

source§

impl XmlValue for f64

source§

impl XmlValue for i8

source§

impl XmlValue for i16

source§

impl XmlValue for i32

source§

impl XmlValue for i64

source§

impl XmlValue for u8

source§

impl XmlValue for u16

source§

impl XmlValue for u32

source§

impl XmlValue for u64

source§

impl XmlValue for String

Implementors§