# AppleCameraProvider

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

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

```rust
struct AppleCameraProvider
```

Native camera capture on an already admitted Metal compositor device.
The application must declare NSCameraUsageDescription in its bundle. This
provider never asks for microphone or photo-library access.

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

## Members

- [`device`](#struct_field-device)
- [`device_generation`](#struct_field-device_generation)

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

### device

```rust
device: DeviceIdentity
```



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

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

### device_generation

```rust
device_generation: u64
```



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

## 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`
- [`CameraProvider`](/docs/0.5.0/api/ferroui-media-camera/trait-cameraprovider/)

## Availability

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