xsd-parser 1.5.2

Rust code generator for XML schema files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::borrow::Cow;

use crate::models::meta::CustomMeta;

/// Contains additional information for the rendering process of a
/// [`MetaTypeVariant::Custom`](crate::models::meta::MetaTypeVariant::Custom)
/// type.
#[derive(Debug)]
pub struct CustomData<'types> {
    /// Reference to the original type information.
    pub meta: Cow<'types, CustomMeta>,
}