Trait mcvm::util::ToInt

source ·
pub trait ToInt {
    // Required method
    fn to_int(&self) -> i32;
}
Expand description

Trait for a value that can be converted to an integer

Required Methods§

source

fn to_int(&self) -> i32

Get this value as an i32

Implementors§