Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn curve25519_add_n_points(n: u32) -> Weight;
    fn curve25519_scaler_mul() -> Weight;
}

Required Methods§

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 WeightInfo for ()

Source§

fn curve25519_add_n_points(n: u32) -> Weight

The range of component n is [1, 10].

Source§

fn curve25519_scaler_mul() -> Weight

Implementors§