return a slice for RXingResultPoints

This commit is contained in:
Henry Schimke
2023-01-11 16:06:35 -06:00
parent fde23934f6
commit 7ddeb49064
7 changed files with 8 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ pub use bit_array::*;
pub trait DetectorRXingResult {
fn getBits(&self) -> &BitMatrix;
fn getPoints(&self) -> &Vec<RXingResultPoint>;
fn getPoints(&self) -> &[RXingResultPoint];
}
// pub struct DetectorRXingResult {