#[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.
Fields§
§version: i32The optional version of QR code (by default - maximum possible depending on the length of the string).
correction_level: QRCodeEncoder_CorrectionLevelThe optional level of error correction (by default - the lowest).
mode: QRCodeEncoder_EncodeModeThe optional encoding mode - Numeric, Alphanumeric, Byte, Kanji, ECI or Structured Append.
structure_number: i32The optional number of QR codes to generate in Structured Append mode.
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 duplicate 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
impl Copy for QRCodeEncoder_Params
impl StructuralPartialEq for QRCodeEncoder_Params
Auto Trait Implementations§
impl Freeze for QRCodeEncoder_Params
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