Skip to main content

GenericArgsExt

Trait GenericArgsExt 

Source
pub trait GenericArgsExt {
    // Required methods
    fn box_args(&self) -> (&Ty, &Ty);
    fn as_closure(&self) -> ClosureArgs;
    fn as_coroutine(&self) -> CoroutineArgs;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§