Struct opencv::objdetect::QRCodeEncoder_Params
source · #[repr(C)]pub struct QRCodeEncoder_Params {
pub version: i32,
pub correction_level: QRCodeEncoder_CorrectionLevel,
pub mode: QRCodeEncoder_EncodeMode,
pub structure_number: i32,
}
Expand description
QR code encoder parameters.
Parameters
- version: The optional version of QR code (by default - maximum possible depending on the length of the string).
- correction_level: The optional level of error correction (by default - the lowest).
- mode: The optional encoding mode - Numeric, Alphanumeric, Byte, Kanji, ECI or Structured Append.
- structure_number: The optional number of QR codes to generate in Structured Append mode.
Fields§
§version: i32
§correction_level: QRCodeEncoder_CorrectionLevel
§mode: QRCodeEncoder_EncodeMode
§structure_number: i32
Implementations§
source§impl QRCodeEncoder_Params
impl QRCodeEncoder_Params
pub fn default() -> Result<QRCodeEncoder_Params>
Trait Implementations§
source§impl Clone for QRCodeEncoder_Params
impl Clone for QRCodeEncoder_Params
source§fn clone(&self) -> QRCodeEncoder_Params
fn clone(&self) -> QRCodeEncoder_Params
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QRCodeEncoder_Params
impl Debug for QRCodeEncoder_Params
source§impl PartialEq for QRCodeEncoder_Params
impl PartialEq for QRCodeEncoder_Params
source§fn eq(&self, other: &QRCodeEncoder_Params) -> bool
fn eq(&self, other: &QRCodeEncoder_Params) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QRCodeEncoder_Params
impl StructuralPartialEq for QRCodeEncoder_Params
Auto Trait Implementations§
impl RefUnwindSafe for QRCodeEncoder_Params
impl Send for QRCodeEncoder_Params
impl Sync for QRCodeEncoder_Params
impl Unpin for QRCodeEncoder_Params
impl UnwindSafe for QRCodeEncoder_Params
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