Struct qr_image_core::QrImage
source · pub struct QrImage {
pub qr_version: Version,
pub ec_level: EcLevel,
pub dark_color: Rgb<u8>,
pub light_color: Rgb<u8>,
pub enhanced: bool,
pub auto_size: bool,
}
Fields§
§qr_version: Version
§ec_level: EcLevel
§dark_color: Rgb<u8>
§light_color: Rgb<u8>
§enhanced: bool
§auto_size: bool
Implementations§
source§impl QrImage
impl QrImage
pub fn render(&self, data: &[u8], img: &DynamicImage) -> QrResult<DynamicImage>
pub fn render_frames(&self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for QrImage
impl Send for QrImage
impl Sync for QrImage
impl Unpin for QrImage
impl UnwindSafe for QrImage
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