pub fn accent_role(role: Option<u8>) -> Option<Role>Expand description
Map an optional accent index to its accent Role: Some(0..=7) →
Role::Accent0..Role::Accent7, None or out of range → None.
Shared by every shape that carries an Option<u8> accent role (blocks,
ports, routes); each call site supplies its own fallback for the None case.