pub trait Babelify: Send + Sync {
type Output: Serialize + DeserializeOwned + Send + Sync;
// Required method
fn babelify(self, ctx: &Context) -> Self::Output;
// Provided method
fn parallel(_cnt: usize) -> bool { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.