pub struct BarcodeData {
pub bars: Vec<u8>,
}Expand description
A 1D barcode represented as a sequence of bar/space values.
Fields§
§bars: Vec<u8>Each element is 0 (space) or 1 (bar).
Trait Implementations§
Source§impl Clone for BarcodeData
impl Clone for BarcodeData
Auto Trait Implementations§
impl Freeze for BarcodeData
impl RefUnwindSafe for BarcodeData
impl Send for BarcodeData
impl Sync for BarcodeData
impl Unpin for BarcodeData
impl UnsafeUnpin for BarcodeData
impl UnwindSafe for BarcodeData
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