Trait lrs::num::Int

Integers.

Syntax

trait Int {
    /* Required methods */
    fn cast_i64(&self) -> i64
    fn negative(&self) -> bool
}

Methods

ReceiverNameDescription
&selfcast_i64

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

&selfnegative

Returns whether the value is negative.