Struct barcoders::generators::json::JSON
source · pub struct JSON {
pub height: usize,
pub xdim: usize,
}
Expand description
The JSON barcode generator type.
Fields§
§height: usize
The height of the barcode.
xdim: usize
The X dimension. Specifies the width of the “narrow” bars.
Implementations§
Trait Implementations§
impl Copy for JSON
Auto Trait Implementations§
impl Freeze for JSON
impl RefUnwindSafe for JSON
impl Send for JSON
impl Sync for JSON
impl Unpin for JSON
impl UnwindSafe for JSON
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