Module util Copy item path Source NanoVec NanoVec
is an inlined small vector that can hold NANO_VEC_BUFFER_SIZE
elements, at mostNanoVecIntoIter NanoVecRefIntoIter SmallNumberWrapper SmallNumberWrapper
is a wrapper for a small number (u16)StringWrapper StringWrapper
is a wrapper for string satisfying various traitsTwoTuple TwoTuple
is a 2 element tupleUsizeWrapper UsizeWrapper
is a wrapper for usize satisfying various traitsNANO_VEC_BUFFER_SIZE Encodeable Trait Encodeable are all objects that have an encode method (object to string) Equalable Trait Equalable are all objects that can be compared to themselves Hashable Trait Hashable are all objects that a hash can be extracted from (a hash is a unique identifier for the object) Newable Trait Newable are all objects that have a new method Parseable Trait Parseable are all objects that have a parse method (string to object) access_flattened_vec Function access_flattened_vec
gets the data out of a flattened vector (for example, the vector [[2, 1], [2, 3]] would be flattened to [2,1,2,3] with dimensions [2,2]) addr_flattened_to_normal Function addr_flattened_to_normal
converts the index of an element in a flattened vector to
the index in a normal vector addr_normal_to_flattened Function addr_normal_to_flattened
converts the normal address to flattened address addr_normal_to_flattened_usize Function addr_normal_to_flattened_usize
does the same as addr_normal_to_flattened
, just
with coords and sizes both as usize slices addr_normal_to_flattened_usize_wrapper_ref Function addr_normal_to_flattened_usize_wrapper_ref
does the same as
addr_normal_to_flattened
, just with coords as usizeWrapper
reference
slices compute_sizes Function compute_sizes
computes the size of each dimension from the number of each dimension encode_table_sections Function encode_table_sections
takes a vector of Strings and makes a table from them is_flattened_address_off_grid Function is_flattened_address_off_grid
returns whether the flattened address + offset is off the grid or not parse_csv_list Function parse_csv_list
parses a comma seperated list parse_csv_list_native parse_list_multi Function parse_list
parses a list parse_table_sections Function parse_table
parses a table and returns the sections split_str Function split_str
splits a &str