struct
Doc
pub struct Doc {
pub name: &'static str,
pub category: &'static str,
pub summary: &'static str,
pub usage: &'static str,
pub focus: &'static str,
pub dark: bool,
pub parts: &'static [Part],
}Documentation for a family of parts.
Fields
Methods
part
pub fn part(&self, name: &str) -> Option<&'static Part>The part called name (CardTitle in Card's doc), if it has one.