Open ThomasdenH opened 5 years ago
This PR contains a number of utility methods. I have also ran cargo clippy. Where applicable, I have created Rust types with conversion to/from Typescript. This should make the code potentially useful in both a wasm as a native environment.
cargo clippy
textSpanEnd
textSpanIsEmpty
textSpanContainsPosition
textSpanContainsTextSpan
textSpanOverlapsWith
textSpanOverlap
textSpanIntersectsWithTextSpan
textSpanIntersectsWith
decodedTextSpanIntersectsWith
textSpanIntersectsWithPosition
textSpanIntersection
createTextSpan
createTextSpanFromBounds
parsePseudoBigInt
pseudoBigIntToString
This PR contains a number of utility methods. I have also ran
cargo clippy
. Where applicable, I have created Rust types with conversion to/from Typescript. This should make the code potentially useful in both a wasm as a native environment.textSpanEnd
textSpanIsEmpty
textSpanContainsPosition
textSpanContainsTextSpan
textSpanOverlapsWith
textSpanOverlap
textSpanIntersectsWithTextSpan
textSpanIntersectsWith
decodedTextSpanIntersectsWith
textSpanIntersectsWithPosition
textSpanIntersection
createTextSpan
createTextSpanFromBounds
parsePseudoBigInt
pseudoBigIntToString