1 2 3 4 5 6 7 8 9 10 11
use crate::type_ref::TypeRef; pub struct SmartPtrDesc<'tu, 'ge> { pub pointee_type_ref: TypeRef<'tu, 'ge>, } impl<'tu, 'ge> SmartPtrDesc<'tu, 'ge> { pub fn new(pointee_type_ref: TypeRef<'tu, 'ge>) -> Self { Self { pointee_type_ref } } }