wip: Search & replace RXingResultPoint with Point

Build fails because the OneDReader proc macro expects
that a RXingResultPoint type exists.
This commit is contained in:
Vukašin Stepanović
2023-02-16 08:25:32 +00:00
parent 15280d5f98
commit dbc6ca4e55
57 changed files with 476 additions and 476 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
use crate::{RXingResultPoint, ResultPoint};
use crate::{Point, ResultPoint};
/**
* <p>Encapsulates a finder pattern, which are the three square patterns found in
@@ -39,8 +39,8 @@ impl ResultPoint for FinderPattern {
self.point.1
}
fn into_rxing_result_point(self) -> RXingResultPoint {
RXingResultPoint {
fn into_rxing_result_point(self) -> Point {
Point {
x: self.point.0,
y: self.point.1,
}