mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
by_quandrant_reader port
This commit is contained in:
@@ -91,6 +91,18 @@ impl RXingResult {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn new_from_existing_result(prev: Self, points: Vec<RXingResultPoint>) -> Self {
|
||||
Self {
|
||||
text: prev.text,
|
||||
rawBytes: prev.rawBytes,
|
||||
numBits: prev.numBits,
|
||||
resultPoints: points,
|
||||
format: prev.format,
|
||||
resultMetadata: prev.resultMetadata,
|
||||
timestamp: prev.timestamp,
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return raw text encoded by the barcode
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user