Skip to main content

self_translation_signatures

Function self_translation_signatures 

Source
pub fn self_translation_signatures(
    source: &str,
    language: &str,
    options: &SelfTranslationOptions,
) -> Result<Vec<SelfTranslationSignature>, SelfTranslationError>
Expand description

The signatures of the exported items of the JavaScript or TypeScript module source that translate into Rust, in source order, for the imports of a module that imports them.

ยงErrors

A SelfTranslationError for an unknown or a Rust language or a source its links do not reproduce.