use super::prelude::*; /// `align`: Configure the alignment along the layouting axes. pub fn align(_: &mut EvalContext, args: &mut Args) -> TypResult { let mut x = args.named("horizontal")?; let mut y = args.named("vertical")?; for Spanned { v, span } in args.all::>() { match v.axis() { None | Some(SpecAxis::Horizontal) if x.is_none() => x = Some(v), None | Some(SpecAxis::Vertical) if y.is_none() => y = Some(v), _ => bail!(span, "unexpected argument"), } } let body = args.expect::