Skip to main content

WnafSize

Trait WnafSize 

Source
pub trait WnafSize: PrimeField {
    type StorageSize: ArraySize;
}
Expand description

Size of the wNAF representation: this should be the type-level equivalent of PrimeField::NUM_BITS + 1, which includes an extra entry for any remaining carry.

Required Associated Types§

Source

type StorageSize: ArraySize

Number of digits in the wNAF representation.

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.

Implementors§