Struct qrcodegen::Version[][src]

pub struct Version(_);

A number between 1 and 40 (inclusive).

Methods

impl Version
[src]

Creates a version object from the given number.

Panics if the number is outside the range [1, 40].

Returns the value, which is in the range [1, 40].

Trait Implementations

impl Copy for Version
[src]

impl Clone for Version
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Version

impl Sync for Version