mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
change PointCallback to accept Point instead of ResultPoint
This commit is contained in:
@@ -36,7 +36,7 @@ pub use encode_hints::*;
|
||||
|
||||
/// Callback which is invoked when a possible result point (significant
|
||||
/// point in the barcode image such as a corner) is found.
|
||||
pub type PointCallback = Rc<dyn Fn(&dyn ResultPoint)>;
|
||||
pub type PointCallback = Rc<dyn Fn(Point)>;
|
||||
|
||||
/** Temporary type to ease refactoring and keep backwards-compatibility */
|
||||
pub type RXingResultPointCallback = PointCallback;
|
||||
|
||||
Reference in New Issue
Block a user