Skip to main content

Crate rten_base

Crate rten_base 

Source
Expand description

Common utilities used by other RTen crates.

This is an internal crate which contains various utilities that don’t have a more dedicated home.

Modules§

bit_set
byte_cast
Cast values and slices to/from bytes.
from
Utilities for defining From and TryFrom impls.
hint
Branch prediction hints for stable Rust.
iter
Iterators and iterator-related traits.
num
Numeric traits and functions.
unroll
Loop-unrolling macros.

Macros§

enum_from
Define a From impl which creates an enum variant from a value.
unroll_loop
Generate an unrolled loop.
unroll_loop_x4
Unroll a loop 4x.