pub trait ToInteger {
// Required method
fn to_integer(&self) -> Option<i64>;
}Expand description
Unification for extracting integer value of Frames
Required Methods§
Sourcefn to_integer(&self) -> Option<i64>
fn to_integer(&self) -> Option<i64>
Returns the inner integer value, None in case frame is not integer type
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".