Skip to main content

class_reason

Function class_reason 

Source
pub fn class_reason(
    class: &ExportedClass,
    types: &[LocalType],
    ts: bool,
) -> Option<String>
Expand description

Why a class has to stay in the source language: its blocker, else the first method (and, for TS/JS, the constructor) that cannot cross. None when it can be bridged.