Trait ExtendGenerics

Source
pub trait ExtendGenerics<T> {
    // Required method
    fn new(body: T) -> Self;
}
Expand description

Extension methods for Generics

Required Methods§

Source

fn new(body: T) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> ExtendGenerics<T> for Generics<T>

Source§

fn new(body: T) -> Self

Implementors§