pub struct BarcodeCreator(/* private fields */);Implementations§
Source§impl BarcodeCreator
impl BarcodeCreator
pub fn new(format: BarcodeFormat) -> Self
pub fn options(self, v: impl AsRef<str>) -> Self
pub fn set_options(&mut self, v: impl AsRef<str>) -> &mut Self
pub fn get_options(&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