pub struct BarcodeCreator(/* private fields */);
Implementations§
Source§impl BarcodeCreator
impl BarcodeCreator
pub fn new(format: BarcodeFormat) -> Self
pub fn reader_init(self, v: impl Into<bool>) -> Self
pub fn set_reader_init(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_reader_init(&self) -> bool
pub fn force_square_data_matrix(self, v: impl Into<bool>) -> Self
pub fn set_force_square_data_matrix(&mut self, v: impl Into<bool>) -> &mut Self
pub fn get_force_square_data_matrix(&self) -> bool
pub fn ec_level(self, v: impl AsRef<str>) -> Self
pub fn set_ec_level(&mut self, v: impl AsRef<str>) -> &mut Self
pub fn get_ec_level(&self) -> String
pub fn from_str(&self, str: impl AsRef<str>) -> Result<Barcode, Error>
pub fn from_slice(&self, data: impl AsRef<[u8]>) -> Result<Barcode, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BarcodeCreator
impl RefUnwindSafe for BarcodeCreator
impl !Send for BarcodeCreator
impl !Sync for BarcodeCreator
impl Unpin for BarcodeCreator
impl UnwindSafe for BarcodeCreator
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