pub fn dump_element<W, D>(
    to: &mut W,
    elem: &InMemElement<D>,
    width: u32,
    depth: u32,
    no_text_limit: bool,
    no_limit: bool
) -> IoResult<()> where
    W: ?Sized + Write,
    D: DataDictionary