pub struct QRBuilder { /* private fields */ }
Expand description
Builder for QRCode
struct
Implementations
sourceimpl QRBuilder
impl QRBuilder
sourcepub fn new(input: String) -> QRBuilder
pub fn new(input: String) -> QRBuilder
Creates an instance of QRBuilder with default parameters
sourcepub fn mask_nb(&mut self, mask_nb: usize) -> &mut Self
pub fn mask_nb(&mut self, mask_nb: usize) -> &mut Self
Changes the mask, should very rarely be used
sourcepub fn build(&self) -> Result<QRCode, QRCodeError>
pub fn build(&self) -> Result<QRCode, QRCodeError>
Computes a QRCode with given parameters
Auto Trait Implementations
impl RefUnwindSafe for QRBuilder
impl Send for QRBuilder
impl Sync for QRBuilder
impl Unpin for QRBuilder
impl UnwindSafe for QRBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more