fn to_oxidized(&self) -> Self::Target {
        let arena = ocamlrep::Arena::new();
        let ocaml_self = arena.add(self);
        use ocamlrep::FromOcamlRep;
        oxidized::ast_defs::Id::from_ocamlrep(ocaml_self).unwrap()
    }
/// This is a wasteful implementation of to_oxidized, for debugging only. It
/// does not preserve sharing of filenames in positions, and it allocates an
/// intermediate Rust Vec to hold an OCaml representation (because we do not
/// currently have a generated means of directly converting an
/// oxidized_by_ref value to an oxidized one, so we use ToOcamlRep and
/// FromOcamlRep instead).
This is a wasteful implementation of to_oxidized, for debugging only. It
does not preserve sharing of filenames in positions, and it allocates an
intermediate Rust Vec to hold an OCaml representation (because we do not
currently have a generated means of directly converting an
oxidized_by_ref value to an oxidized one, so we use ToOcamlRep and
FromOcamlRep instead).
This is a wasteful implementation of to_oxidized for debugging only . It does not preserve sharing of filenames in positions and it allocates an intermediate Rust Vec to hold an OCaml representation ( because we do not currently have a generated means of directly converting an oxidized_by_ref value to an oxidized one so we use ToOcamlRep and FromOcamlRep instead ) .
fn to_oxidized(&self) -> Self::Target {
        let arena = ocamlrep::Arena::new();
        let ocaml_self = arena.add(self);
        use ocamlrep::FromOcamlRep;
        oxidized::ast_defs::Id::from_ocamlrep(ocaml_self).unwrap()
    }
fn to_oxidized ( & self ) -> Self :: Target { let arena = ocamlrep :: Arena :: new ( ) ; let ocaml_self = arena . add ( self ) ; use ocamlrep :: FromOcamlRep ; oxidized :: ast_defs :: Id :: from_ocamlrep ( ocaml_self ) . unwrap ( ) }
This is a wasteful implementation of to_oxidized, for debugging only.
This is a wasteful implementation of to_oxidized for debugging only .
&self