AcrylicPlatformCompensationLevels
struct · ferroui-controls · v0.5.0
struct AcrylicPlatformCompensationLevels
The opacity compensation a platform needs for each transparency level in order for acrylic materials to look the way they are defined.
Members
new
const fn new(transparent: f64, blurred: f64, acrylic: f64) -> Self
Creates the compensation levels.
transparent_level
const fn transparent_level(self: &Self) -> f64
The compensation for the transparent level.
blur_level
const fn blur_level(self: &Self) -> f64
The compensation for the blur level.
acrylic_blur_level
const fn acrylic_blur_level(self: &Self) -> f64
The compensation for the acrylic blur level.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.