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