pub struct SimplePngConfig {
pub height_barcode: u32,
pub border_size: u32,
}
Expand description
Dimensions configuration for png file
§Examples
let config_png = ean_rs::SimplePngConfig {
height_barcode: 200,
border_size: 50
};
Fields§
§height_barcode: u32
§border_size: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimplePngConfig
impl RefUnwindSafe for SimplePngConfig
impl Send for SimplePngConfig
impl Sync for SimplePngConfig
impl Unpin for SimplePngConfig
impl UnwindSafe for SimplePngConfig
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