pub trait GcFloatExt:
IsA<GcFloat>
+ Sealed
+ 'static {
// Provided methods
fn display_notation(&self) -> GcDisplayNotation { ... }
fn display_precision(&self) -> i64 { ... }
fn inc(&self) -> Result<f64, Error> { ... }
fn max(&self) -> Result<f64, Error> { ... }
fn min(&self) -> Result<f64, Error> { ... }
fn representation(&self) -> GcRepresentation { ... }
fn unit(&self) -> Option<GString> { ... }
fn value(&self) -> Result<f64, Error> { ... }
fn impose_max(&self, maximum: f64) -> Result<(), Error> { ... }
fn impose_min(&self, minimum: f64) -> Result<(), Error> { ... }
fn set_value(&self, value: f64) -> Result<(), Error> { ... }
}Expand description
Trait containing all GcFloat methods.
§Implementors
GcConverterNode, GcFloatNode, GcFloatRegNode, GcFloat, GcSwissKnifeNode
Provided Methods§
fn display_notation(&self) -> GcDisplayNotation
fn display_precision(&self) -> i64
fn inc(&self) -> Result<f64, Error>
fn max(&self) -> Result<f64, Error>
fn min(&self) -> Result<f64, Error>
fn representation(&self) -> GcRepresentation
fn unit(&self) -> Option<GString>
fn value(&self) -> Result<f64, Error>
fn impose_max(&self, maximum: f64) -> Result<(), Error>
fn impose_min(&self, minimum: f64) -> Result<(), Error>
fn set_value(&self, value: f64) -> Result<(), Error>
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.