xsd_parser/models/data/custom.rs
1use std::borrow::Cow;
2
3use crate::models::meta::CustomMeta;
4
5/// Contains additional information for the rendering process of a
6/// [`MetaTypeVariant::Custom`](crate::models::meta::MetaTypeVariant::Custom)
7/// type.
8#[derive(Debug)]
9pub struct CustomData<'types> {
10 /// Reference to the original type information.
11 pub meta: Cow<'types, CustomMeta>,
12}