# CameraSelection

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-camera/struct-cameraselection/

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

```rust
struct CameraSelection
```



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

## Members

- [`device_id`](#struct_field-device_id)
- [`preferred_facing`](#struct_field-preferred_facing)
- [`format`](#struct_field-format)
- [`exact`](#struct_field-exact)

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

### device_id

```rust
device_id: Option<String>
```



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

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

### preferred_facing

```rust
preferred_facing: Option<CameraFacing>
```



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

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

### format

```rust
format: Option<CameraFormat>
```



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

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

### exact

```rust
exact: bool
```



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

## 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`
- `Debug`
- `Default`

## Availability

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