Struct qrcodegen::Mask[][src]

pub struct Mask(_);

A number between 0 and 7 (inclusive).

Methods

impl Mask
[src]

Creates a mask object from the given number.

Panics if the number is outside the range [0, 7].

Returns the value, which is in the range [0, 7].

Trait Implementations

impl Copy for Mask
[src]

impl Clone for Mask
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Mask

impl Sync for Mask