penumbra_tct::internal::height

Trait IsHeight

Source
pub trait IsHeight: IsHeight {
    const HEIGHT: u8;
}
Available on crate feature internal only.
Expand description

The constant u8 associated with each unary height.

Required Associated Constants§

Source

const HEIGHT: u8

The number for this height.

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§

Source§

impl IsHeight for Zero

Source§

const HEIGHT: u8 = 0u8

Source§

impl<N: IsHeight> IsHeight for Succ<N>

Source§

const HEIGHT: u8 = _