pub trait EnumI64: Sized + Eq {
// Required methods
fn from_i64(i: i64) -> Option<Self>;
fn to_i64(&self) -> i64;
}
Expand description
Trait indicating an enum that can be constructed from i64
values.
Required Methods§
Object Safety§
This trait is not object safe.