# AspectRatioClassSetters

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-xaml-interactions-responsive/struct-aspectratioclasssetters/

**struct** · [`ferroui-xaml-interactions-responsive`](/docs/0.5.0/api/ferroui-xaml-interactions-responsive/) · v0.5.0

```rust
struct AspectRatioClassSetters
```

The aspect ratio class setters of an [`AspectRatioBehavior`](/docs/0.5.0/api/ferroui-xaml-interactions-responsive/struct-aspectratiobehavior/): a list of
[`AspectRatioClassSetter`](/docs/0.5.0/api/ferroui-xaml-interactions-responsive/struct-aspectratioclasssetter/).

Deviation (DEVIATIONS.md, Behaviors): the reference types the collection as the generic list
of the framework of `AspectRatioClassSetter`; here it is a named list (as `ConditionCollection`
of the interactivity crate), so that markup can add the setters of a document to it.

It is a reference object: clones refer to the same collection and compare by identity.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Responsive/aspect_ratio_behavior.rs#L30)

## Members

- [`new`](#function-new)
- [`list`](#function-list)

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

### new

```rust
fn new() -> Self
```

Creates an empty collection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Responsive/aspect_ratio_behavior.rs#L34)

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

### list

```rust
fn list(self: &Self) -> &FerroList<Ref<AspectRatioClassSetter>>
```

The list of the collection.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Behaviors/FerroUI.Xaml.Interactions.Responsive/aspect_ratio_behavior.rs#L39)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `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`
- `StructuralPartialEq`
- `PartialEq`
- `Default`
- `Deref`
- `Debug`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)

## Availability

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