pub struct Barcode(/* private fields */);
Implementations§
source§impl Barcode
impl Barcode
pub fn is_valid(&self) -> bool
pub fn format(&self) -> BarcodeFormat
pub fn content_type(&self) -> ContentType
pub fn text(&self) -> String
pub fn ec_level(&self) -> String
pub fn error_message(&self) -> String
pub fn symbology_identifier(&self) -> String
pub fn position(&self) -> Position
pub fn orientation(&self) -> i32
pub fn has_eci(&self) -> bool
pub fn is_inverted(&self) -> bool
pub fn is_mirrored(&self) -> bool
pub fn line_count(&self) -> i32
pub fn bytes(&self) -> Vec<u8>
pub fn bytes_eci(&self) -> Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Barcode
impl !Send for Barcode
impl !Sync for Barcode
impl Unpin for Barcode
impl UnwindSafe for Barcode
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