pub trait OffsetBuilderPType: IntegerPType + Sealed { }Expand description
Trait for the integer types that can back a builder’s offsets and sizes: u32, i32,
u64, and i64.
This trait is sealed and cannot be implemented for any other type. Restricting the set of
widths keeps the concrete ListBuilder,
ListViewBuilder, and
VarBinBuilder instantiations small enough for
match_each_list_builder! and
match_each_varbin_builder! to enumerate them.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".