Trait method lrs::num::Int::cast_i64

Casts the value to an i64 and possibly discards significant bits.

Syntax

fn cast_i64(&self) -> i64

Remarks

For example, u64::MAX.cast_i64() == -1.