Skip to main content

deep_ref

Function deep_ref 

Source
pub fn deep_ref(
    input: &ItemStruct,
    import_location: &Path,
    derives_to_pass: &Vec<Ident>,
) -> Result<TokenStream>
Expand description

Main function to generate the Deep Reference struct and implementation. Accepts a list of additional derives to apply to the generated struct.