[][src]Struct qr_image_core::QrImage

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: Versionec_level: EcLeveldark_color: Rgb<u8>light_color: Rgb<u8>enhanced: boolauto_size: bool

Implementations

impl QrImage[src]

pub fn render(&self, data: &[u8], img: &DynamicImage) -> QrResult<DynamicImage>[src]

pub fn render_frames(&self)[src]

Trait Implementations

impl Clone for QrImage[src]

impl Debug for QrImage[src]

impl Default for QrImage[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.