# QrAnalysisGate

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-qr/struct-qranalysisgate/

**struct** · [`ferroui-media-qr`](/docs/0.5.0/api/ferroui-media-qr/) · v0.5.0

```rust
struct QrAnalysisGate
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L161)

## Members

- [`new`](#function-new)
- [`activate`](#function-activate)
- [`stop`](#function-stop)
- [`begin`](#function-begin)

<a id="function-new"></a>

### new

```rust
fn new(options: QrOptions) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L180)

<a id="function-activate"></a>

### activate

```rust
fn activate(self: &Self, source: u64, generation: u64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L194)

<a id="function-stop"></a>

### stop

```rust
fn stop(self: &Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L205)

<a id="function-begin"></a>

### begin

```rust
fn begin(self: &Self, frame: FrameLease, now: Duration) -> Result<QrAnalysis, QrError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Qr/lib.rs#L209)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
