pub struct BarcodeFormats(pub Vec<BarcodeFormat>);Tuple Fields§
§0: Vec<BarcodeFormat>Implementations§
Source§impl BarcodeFormats
impl BarcodeFormats
pub fn as_slice(&self) -> &[BarcodeFormat]
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn contains(&self, f: BarcodeFormat) -> bool
pub fn iter(&self) -> Iter<'_, BarcodeFormat>
pub fn list(filter: BarcodeFormat) -> Self
Trait Implementations§
Source§impl AsRef<[BarcodeFormat]> for BarcodeFormats
impl AsRef<[BarcodeFormat]> for BarcodeFormats
Source§fn as_ref(&self) -> &[BarcodeFormat]
fn as_ref(&self) -> &[BarcodeFormat]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for BarcodeFormats
impl Clone for BarcodeFormats
Source§fn clone(&self) -> BarcodeFormats
fn clone(&self) -> BarcodeFormats
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 moreSource§impl Debug for BarcodeFormats
impl Debug for BarcodeFormats
Source§impl Default for BarcodeFormats
impl Default for BarcodeFormats
Source§fn default() -> BarcodeFormats
fn default() -> BarcodeFormats
Returns the “default value” for a type. Read more
Source§impl Display for BarcodeFormats
impl Display for BarcodeFormats
Source§impl From<&[BarcodeFormat]> for BarcodeFormats
impl From<&[BarcodeFormat]> for BarcodeFormats
Source§fn from(s: &[BarcodeFormat]) -> Self
fn from(s: &[BarcodeFormat]) -> Self
Converts to this type from the input type.
Source§impl From<Vec<BarcodeFormat>> for BarcodeFormats
impl From<Vec<BarcodeFormat>> for BarcodeFormats
Source§fn from(v: Vec<BarcodeFormat>) -> Self
fn from(v: Vec<BarcodeFormat>) -> Self
Converts to this type from the input type.
Source§impl FromStr for BarcodeFormats
impl FromStr for BarcodeFormats
Source§impl PartialEq<[BarcodeFormat]> for BarcodeFormats
impl PartialEq<[BarcodeFormat]> for BarcodeFormats
Source§impl PartialEq<BarcodeFormats> for [BarcodeFormat]
impl PartialEq<BarcodeFormats> for [BarcodeFormat]
Auto Trait Implementations§
impl Freeze for BarcodeFormats
impl RefUnwindSafe for BarcodeFormats
impl Send for BarcodeFormats
impl Sync for BarcodeFormats
impl Unpin for BarcodeFormats
impl UnsafeUnpin for BarcodeFormats
impl UnwindSafe for BarcodeFormats
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