rune/modules/u64.rs
//! Integers.
use core::cmp::Ordering;
use core::num::ParseIntError;
use crate as rune;
use crate::alloc;
use crate::alloc::string::TryToString;
use crate::runtime::{VmErrorKind, VmResult};
use crate::{ContextError, Module};
/// Unsigned integers.
///
/// This provides methods for computing over and parsing 64-bit unsigned integers.
#[rune::module(::std::u64)]
pub fn module() -> Result<Module, ContextError> {
let mut m = Module::from_meta(self::module_meta)?;
unsigned!(m, u64);
Ok(m)
}
unsigned_fns!(u64);