pub trait StrOrI64 {
// Required methods
fn to_i64(&self) -> i64;
fn to_str(&self) -> &str;
}
Expand description
Trait StrOrI64
defines a method for converting different types to i64
.
pub trait StrOrI64 {
// Required methods
fn to_i64(&self) -> i64;
fn to_str(&self) -> &str;
}
Trait StrOrI64
defines a method for converting different types to i64
.