EntityEntryPointsExt

Trait EntityEntryPointsExt 

Source
pub trait EntityEntryPointsExt {
    // Required method
    fn add<T: Into<EntityEntryPoint>>(&mut self, ep: T);
}
Expand description

Extension trait for adding entry points to casper_types::EntryPoints.

Required Methods§

Source

fn add<T: Into<EntityEntryPoint>>(&mut self, ep: T)

Adds an entry point to the collection.

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 EntityEntryPointsExt for EntryPoints

Source§

fn add<T: Into<EntityEntryPoint>>(&mut self, ep: T)

Implementors§