opencv_binding_generator/
abstract_ref_wrapper.rs

1use crate::TypeRef;
2
3#[derive(Debug)]
4pub struct AbstractRefWrapper<'tu, 'ge> {
5	type_ref: TypeRef<'tu, 'ge>,
6}
7
8impl<'tu, 'ge> AbstractRefWrapper<'tu, 'ge> {
9	pub fn new(type_ref: TypeRef<'tu, 'ge>) -> Self {
10		Self { type_ref }
11	}
12
13	pub fn type_ref(&self) -> &TypeRef<'tu, 'ge> {
14		&self.type_ref
15	}
16}