Skip to main content

WindowSize

Trait WindowSize 

Source
pub trait WindowSize: Unsigned {
    type TableSize: ArraySize;
}
Expand description

Allowed wNAF window size: we use this to precompute the window point sizes, because it’s currently not possible to write bounds for them.

Required Associated Types§

Source

type TableSize: ArraySize

Number of precomputed points in the window table: 1 << (Self::USIZE - 2).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl WindowSize for U2

Source§

impl WindowSize for U3

Source§

impl WindowSize for U4

Source§

impl WindowSize for U5

Source§

impl WindowSize for U6

Source§

impl WindowSize for U7

Source§

impl WindowSize for U8

Implementors§