mrml/mj_image/mod.rs
1use std::marker::PhantomData;
2
3use crate::prelude::{Component, StaticTag};
4
5#[cfg(feature = "json")]
6mod json;
7#[cfg(feature = "print")]
8mod print;
9#[cfg(feature = "render")]
10mod render;
11
12pub const NAME: &str = "mj-image";
13
14pub struct MjImageTag;
15
16impl StaticTag for MjImageTag {
17 fn static_tag() -> &'static str {
18 NAME
19 }
20}
21
22pub type MjImage = Component<PhantomData<MjImageTag>, crate::prelude::AttributeMap, ()>;