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
Source§fn clone(&self) -> BarcodeData
fn clone(&self) -> BarcodeData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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