Skip to main content

all

Function all 

Source
pub fn all() -> Vec<Box<dyn AuditGate>>
Expand description

Returns the 15 built-in gates in registration order.

Order is part of the public contract: the JSON output, JUnit XML output, and CI dashboard tooling all rely on it being stable — new gates append at the end so existing positions never shift.

§Examples

use ssg::audit::gates::all;
let gates = all();
assert_eq!(gates.len(), 15);
assert_eq!(gates[0].name(), "wcag");