use gltf_derive::Validate;
use serde_derive::{Deserialize, Serialize};
use std::fmt;
#[cfg(feature = "extras")]
pub use serde_json::value::RawValue;
#[cfg(feature = "extras")]
pub type Extras = Option<::std::boxed::Box<RawValue>>;
#[cfg(not(feature = "extras"))]
pub type Extras = Void;
#[derive(Clone, Default, Serialize, Deserialize, Validate)]
pub struct Void {
#[serde(default, skip_serializing)]
_allow_unknown_fields: (),
}
impl fmt::Debug for Void {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{{}}")
}
}
impl fmt::Display for Void {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{{}}")
}
}