xsd-parser-types 0.2.1

Types used by the code generated by xsd-parser
1
2
3
4
5
6
7
8
/// Trait that adds namespace information to a type.
pub trait WithNamespace {
    /// The default namespace prefix for this type.
    fn prefix() -> Option<&'static str>;

    /// The namespace for this type.
    fn namespace() -> Option<&'static str>;
}