pub fn rank(ctx: &Context, layer: LayerId, rank: Rank)
Puts layer at rank for this pass: call it each pass the layer is shown. Only a foreground layer can be ranked; another is left where it is.
layer
rank