# AnalysisPlane

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

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

```rust
struct AnalysisPlane<'a>
```

Full unrotated camera-image luma, possibly uniformly downscaled. ROI/crop
adaptation must be performed explicitly by the native analysis provider.
Row/pixel stride are in bytes. No allocation/repacking at this boundary.

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

## Members

- [`data`](#struct_field-data)
- [`width`](#struct_field-width)
- [`height`](#struct_field-height)
- [`row_stride`](#struct_field-row_stride)
- [`pixel_stride`](#struct_field-pixel_stride)
- [`validate`](#function-validate)

<a id="struct_field-data"></a>

### data

```rust
data: &'a [u8]
```



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

<a id="struct_field-width"></a>

### width

```rust
width: u32
```



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

<a id="struct_field-height"></a>

### height

```rust
height: u32
```



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

<a id="struct_field-row_stride"></a>

### row_stride

```rust
row_stride: usize
```



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

<a id="struct_field-pixel_stride"></a>

### pixel_stride

```rust
pixel_stride: usize
```



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

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

### validate

```rust
fn validate(self: &Self, options: QrOptions) -> Result<(), QrError>
```



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

## Trait implementations

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

## Availability

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