binius_field::byte_iteration

Function is_sequential_bytes

Source
pub fn is_sequential_bytes<T>() -> bool
Expand description

Returns true if T implements SequentialBytes trait. Use a hack that exploits that array copying is optimized for the Copy types. Unfortunately there is no more proper way to perform this check this in Rust at runtime.