# QrFrameGeometry

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

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

```rust
struct QrFrameGeometry
```

Geometry captured with the analyzed image, in the same logical top-left
texture plane as result corners. It owns no native storage or frame lease.

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

## Members

- [`width`](#struct_field-width)
- [`height`](#struct_field-height)
- [`visible`](#struct_field-visible)
- [`rotation`](#struct_field-rotation)
- [`mirrored`](#struct_field-mirrored)
- [`top_left_origin`](#struct_field-top_left_origin)
- [`validate`](#function-validate)

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

### width

```rust
width: u32
```



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

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

### height

```rust
height: u32
```



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

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

### visible

```rust
visible: ferroui_media::frames::FrameRegion
```



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

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

### rotation

```rust
rotation: ferroui_media::frames::FrameRotation
```



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

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

### mirrored

```rust
mirrored: bool
```



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

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

### top_left_origin

```rust
top_left_origin: bool
```



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

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

### validate

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



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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `From<&FrameMetadata>`

## Availability

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