use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct React; impl Platform for React { fn id(&self) -> &'static str { "react" } fn name(&self) -> &'static str { "React" } fn category(&self) -> Category { Category::Dev } fn domains(&self) -> &'static [&'static str] { &["react.dev", "reactjs.org"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: React = React;