macro_rules! register_content_check {
($ty:ty) => { ... };
}Expand description
Register a ContentCheck implementation.
ⓘ
#[derive(Default)]
struct MyCheck;
impl rustango_cms::content_checks::ContentCheck for MyCheck { /* … */ }
rustango_cms::register_content_check!(MyCheck);