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