pub trait ArrLength {
const LEN: usize;
}Expand description
Selectively exposed types Get the length of constant sized arrays.
use ergo_lib::ArrLength;
type SecretKeyBytes = [u8; 32];
assert_eq!(32, SecretKeyBytes::LEN)Required Associated Constants§
Object Safety§
This trait is not object safe.