pub trait MeterExtension: HasAttributes + Sized {
// Provided methods
fn value(self, value: impl IntoAttributeValue) -> Self { ... }
fn min(self, value: impl IntoAttributeValue) -> Self { ... }
fn max(self, value: impl IntoAttributeValue) -> Self { ... }
fn low(self, value: impl IntoAttributeValue) -> Self { ... }
fn high(self, value: impl IntoAttributeValue) -> Self { ... }
fn optimum(self, value: impl IntoAttributeValue) -> Self { ... }
fn form(self, value: impl IntoAttributeValue) -> Self { ... }
}
Provided Methods§
fn value(self, value: impl IntoAttributeValue) -> Self
fn min(self, value: impl IntoAttributeValue) -> Self
fn max(self, value: impl IntoAttributeValue) -> Self
fn low(self, value: impl IntoAttributeValue) -> Self
fn high(self, value: impl IntoAttributeValue) -> Self
fn optimum(self, value: impl IntoAttributeValue) -> Self
fn form(self, value: impl IntoAttributeValue) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.