bladeink 1.2.5

This is a Rust port of inkle's ink, a scripting language for writing interactive narrative.
Documentation
use std::fmt;

use crate::object::{Object, RTObject};

pub struct Void {
    obj: Object,
}

impl Void {
    pub fn new() -> Self {
        Void { obj: Object::new() }
    }
}

impl Default for Void {
    fn default() -> Self {
        Self::new()
    }
}

impl RTObject for Void {
    fn get_object(&self) -> &Object {
        &self.obj
    }
}

impl fmt::Display for Void {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "Void")
    }
}