oxilean-runtime 0.1.2

OxiLean runtime - Memory management, closures, I/O, and task scheduling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! # RtObject - unit_group Methods
//!
//! This module contains method implementations for `RtObject`.
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::functions::TAG_UNIT;
use super::rtobject_type::RtObject;

impl RtObject {
    /// Create a unit value.
    pub fn unit() -> Self {
        RtObject {
            bits: (TAG_UNIT as u64) << 56,
        }
    }
}