pub fn write_to( elem: &impl Element, writer: &mut impl Write, constraints: Constraint, ) -> Result<(), Error>
Write using the given constraints, to a writer.