Skip to main content

depth_rules

Function depth_rules 

Source
pub fn depth_rules(opts: &Emit) -> String
Expand description

One rule per depth: its fill and its edge, together.

A pressed rule rides along with the raised one, because the cascade can carry a state that an immediate-mode renderer has to resolve per call site. That is the one thing this renderer gets for free and the others do not.