mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 12:52:34 +00:00
cargo fmt
This commit is contained in:
@@ -3,7 +3,6 @@ use std::fmt;
|
||||
use crate::ResultPoint;
|
||||
use std::hash::Hash;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Encapsulates a point of interest in an image containing a barcode. Typically, this
|
||||
* would be the location of a finder pattern or the corner of the barcode, for example.</p>
|
||||
@@ -13,7 +12,7 @@ use std::hash::Hash;
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct RXingResultPoint {
|
||||
pub(crate) x: f32,
|
||||
pub(crate)y: f32,
|
||||
pub(crate) y: f32,
|
||||
}
|
||||
impl Hash for RXingResultPoint {
|
||||
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
|
||||
@@ -51,4 +50,4 @@ impl fmt::Display for RXingResultPoint {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "({},{})", self.x, self.y)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user