# ImmutableExperimentalAcrylicMaterial

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/media/struct-immutableexperimentalacrylicmaterial/

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

```rust
struct ImmutableExperimentalAcrylicMaterial
```

An immutable acrylic-like material.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L7)

## Members

- [`new`](#function-new)
- [`background_source`](#function-background_source)
- [`tint_color`](#function-tint_color)
- [`material_color`](#function-material_color)
- [`tint_opacity`](#function-tint_opacity)
- [`fallback_color`](#function-fallback_color)
- [`equals`](#function-equals)
- [`get_effective_tint_color`](#function-get_effective_tint_color)

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

### new

```rust
fn new(brush: &dyn IExperimentalAcrylicMaterial) -> Self
```

Creates an immutable copy of `brush`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L17)

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

### background_source

```rust
fn background_source(self: &Self) -> AcrylicBackgroundSource
```

The background source mode.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L29)

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

### tint_color

```rust
fn tint_color(self: &Self) -> Color
```

The tint color of the material.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L35)

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

### material_color

```rust
fn material_color(self: &Self) -> Color
```

The effective material color.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L41)

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

### tint_opacity

```rust
fn tint_opacity(self: &Self) -> f64
```

The tint opacity of the material.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L47)

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

### fallback_color

```rust
fn fallback_color(self: &Self) -> Color
```

The fallback color if acrylic is unavailable.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L53)

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

### equals

```rust
fn equals(self: &Self, other: &ImmutableExperimentalAcrylicMaterial) -> bool
```

Whether the material has the same parameters as `other`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L58)

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

### get_effective_tint_color

```rust
fn get_effective_tint_color(self: &Self) -> Color
```

The tint color the material is drawn with.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/media/immutable_experimental_acrylic_material.rs#L67)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`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/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `PartialEq`
- `Hash`
- [`IExperimentalAcrylicMaterial`](/docs/0.5.0/api/ferroui-base/media/trait-iexperimentalacrylicmaterial/)
- `ServerPropertyValue`

## Availability

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