Skip to main content

Create

Trait Create 

Source
pub trait Create: Sized {
    type Input: Input;
    type Owner;

    // Required method
    fn create(input: Self::Input, owner: Self::Owner) -> Result<Self>;
}

Required Associated Types§

Required Methods§

Source

fn create(input: Self::Input, owner: Self::Owner) -> Result<Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§