Skip to main content

ToInteger

Trait ToInteger 

Source
pub trait ToInteger {
    // Required method
    fn to_integer(&self) -> Option<i64>;
}
Expand description

Unification for extracting integer value of Frames

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl ToInteger for BytesFrame

Source§

impl ToInteger for BytesFrame

Implementors§