pub enum ErrorCorrection {
Low,
Medium,
Quartile,
High,
}Expand description
O nível de correção de erro de um código em matriz (o QR Code): quanto do código pode estar estragado (sujo, rasgado, com um logo por cima) e ainda ser lido. Mais correção é um código maior para o mesmo dado.
Variants§
Low
L: cerca de 7%.
Medium
M: cerca de 15% (o padrão).
Quartile
Q: cerca de 25%.
High
H: cerca de 30%.
Trait Implementations§
Source§impl Clone for ErrorCorrection
impl Clone for ErrorCorrection
impl Copy for ErrorCorrection
Source§impl Debug for ErrorCorrection
impl Debug for ErrorCorrection
Source§impl Default for ErrorCorrection
impl Default for ErrorCorrection
impl Eq for ErrorCorrection
Source§impl PartialEq for ErrorCorrection
impl PartialEq for ErrorCorrection
Source§impl PropEnum for ErrorCorrection
impl PropEnum for ErrorCorrection
impl StructuralPartialEq for ErrorCorrection
Auto Trait Implementations§
impl Forget for ErrorCorrection
impl Freeze for ErrorCorrection
impl Move for ErrorCorrection
impl RefUnwindSafe for ErrorCorrection
impl Send for ErrorCorrection
impl Sync for ErrorCorrection
impl Unpin for ErrorCorrection
impl UnsafeUnpin for ErrorCorrection
impl UnwindSafe for ErrorCorrection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more