# CameraVideo

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

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

```rust
struct CameraVideo
```

Independently owned encoded video. Preview frames never pass through this buffer.

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

## Members

- [`encoded`](#struct_field-encoded)
- [`content_type`](#struct_field-content_type)
- [`width`](#struct_field-width)
- [`height`](#struct_field-height)
- [`duration`](#struct_field-duration)

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

### encoded

```rust
encoded: std::sync::Arc<[u8]>
```



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

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

### content_type

```rust
content_type: String
```



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

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

### width

```rust
width: u32
```



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

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

### height

```rust
height: u32
```



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

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

### duration

```rust
duration: std::time::Duration
```



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

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

## Availability

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