[][src]Type Definition artichoke_backend::types::Int

type Int = i64;

Artichoke native integer type.

Int is the fixed size (Fixnum) backend to the Integer class.

The Int type alias is for the i64 integer primitive.

assert_eq!(mem::size_of::<i64>(), mem::size_of::<Int>());
assert_eq!(i64::min_value(), Int::min_value());
assert_eq!(i64::max_value(), Int::max_value());
assert_eq!(TypeId::of::<i64>(), TypeId::of::<Int>());

Trait Implementations

impl<'_> From<&'_ Encoding> for Int[src]

fn from(enc: &Encoding) -> Self[src]

Convert an Encoding to its bitflag representation.

impl From<Encoding> for Int[src]

fn from(enc: Encoding) -> Self[src]

Convert an Encoding to its bitflag representation.

impl From<Options> for Int[src]

fn from(opts: Options) -> Self[src]

Convert an Options to its bitflag representation.