Appearance
cellpack::loader::Offset
Module contract · All interfaces
At a glance
pub struct Offset<A> { /* private fields */ }Schema s of a position loads the position’s cell plus offsets[s].
Member index
1 of 1 members
newOne offset per schema, in schema order: schema s of a position loads the position’s cell plus offsets[s] (wrapping is an error, not a silent overflow). Paired matrices registered in the same order keep the same pairing across positions.
Methods and associated constants
new
One offset per schema, in schema order: schema s of a position loads the position’s cell plus offsets[s] (wrapping is an error, not a silent overflow). Paired matrices registered in the same order keep the same pairing across positions.
Implemented traits
Contract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.