pub struct Code39 {
pub checksum: bool,
/* private fields */
}Expand description
The Code39 barcode type.
Fields§
§checksum: boolIndicates whether to encode a checksum digit.
Implementations§
Source§impl Code39
impl Code39
Sourcepub fn new<T: AsRef<str>>(data: T) -> Result<Code39>
pub fn new<T: AsRef<str>>(data: T) -> Result<Code39>
Creates a new barcode. Returns Result<Code39, Error> indicating parse success.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Code39
impl RefUnwindSafe for Code39
impl Send for Code39
impl Sync for Code39
impl Unpin for Code39
impl UnwindSafe for Code39
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