pub enum BarcodeType {
Code39,
}Expand description
Welke barcodesoorten we kunnen tekenen.
Variants§
Code39
Code 39, met de *-start- en stoptekens die scanners verwachten.
Implementations§
Source§impl BarcodeType
impl BarcodeType
Sourcepub fn from_xfa_name(naam: &str) -> Option<Self>
pub fn from_xfa_name(naam: &str) -> Option<Self>
Herken het type-attribuut uit <barcode type="...">.
XFA schrijft de namen in kleine letters zonder scheidingsteken
(code39, code128, ean13). Onbekende of nog niet ondersteunde
soorten geven None; de aanroeper valt dan terug op tekst, wat
zichtbaar verkeerd is en daarmee eerlijker dan een balkenpatroon dat
niets betekent.
Trait Implementations§
Source§impl Clone for BarcodeType
impl Clone for BarcodeType
impl Copy for BarcodeType
Source§impl Debug for BarcodeType
impl Debug for BarcodeType
impl Eq for BarcodeType
Source§impl PartialEq for BarcodeType
impl PartialEq for BarcodeType
impl StructuralPartialEq for BarcodeType
Auto Trait Implementations§
impl Freeze for BarcodeType
impl RefUnwindSafe for BarcodeType
impl Send for BarcodeType
impl Sync for BarcodeType
impl Unpin for BarcodeType
impl UnsafeUnpin for BarcodeType
impl UnwindSafe for BarcodeType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more