Enum fast_qr::Version

source ·
pub enum Version {
Show 40 variants V01 = 0, V02 = 1, V03 = 2, V04 = 3, V05 = 4, V06 = 5, V07 = 6, V08 = 7, V09 = 8, V10 = 9, V11 = 10, V12 = 11, V13 = 12, V14 = 13, V15 = 14, V16 = 15, V17 = 16, V18 = 17, V19 = 18, V20 = 19, V21 = 20, V22 = 21, V23 = 22, V24 = 23, V25 = 24, V26 = 25, V27 = 26, V28 = 27, V29 = 28, V30 = 29, V31 = 30, V32 = 31, V33 = 32, V34 = 33, V35 = 34, V36 = 35, V37 = 36, V38 = 37, V39 = 38, V40 = 39,
}
Expand description

Enum containing all possible QRCode versions

Variants§

§

V01 = 0

Version n°01

§

V02 = 1

Version n°02

§

V03 = 2

Version n°03

§

V04 = 3

Version n°04

§

V05 = 4

Version n°05

§

V06 = 5

Version n°06

§

V07 = 6

Version n°07

§

V08 = 7

Version n°08

§

V09 = 8

Version n°09

§

V10 = 9

Version n°10

§

V11 = 10

Version n°11

§

V12 = 11

Version n°12

§

V13 = 12

Version n°13

§

V14 = 13

Version n°14

§

V15 = 14

Version n°15

§

V16 = 15

Version n°16

§

V17 = 16

Version n°17

§

V18 = 17

Version n°18

§

V19 = 18

Version n°19

§

V20 = 19

Version n°20

§

V21 = 20

Version n°21

§

V22 = 21

Version n°22

§

V23 = 22

Version n°23

§

V24 = 23

Version n°24

§

V25 = 24

Version n°25

§

V26 = 25

Version n°26

§

V27 = 26

Version n°27

§

V28 = 27

Version n°28

§

V29 = 28

Version n°29

§

V30 = 29

Version n°30

§

V31 = 30

Version n°31

§

V32 = 31

Version n°32

§

V33 = 32

Version n°33

§

V34 = 33

Version n°34

§

V35 = 34

Version n°35

§

V36 = 35

Version n°36

§

V37 = 36

Version n°37

§

V38 = 37

Version n°38

§

V39 = 38

Version n°39

§

V40 = 39

Version n°40

Trait Implementations§

source§

impl Clone for Version

source§

fn clone(&self) -> Version

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Version

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for Version

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.