valkyrie-types 0.0.8

Shard types for valkyrie language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

impl<T> ValkyrieType for Arc<T>
where
    T: ValkyrieType,
{
    #[track_caller]
    fn boxed(self) -> ValkyrieValue {
        panic!("Gc<T> can't be not boxed")
    }

    fn dynamic_type(&self) -> Gc<ValkyrieMetaType> {
        self.as_ref().dynamic_type()
    }
}