pub fn base(&self) -> TypeRef<'tu, 'g> {
		let source = self.source();
		match source.kind() {
			Kind::Array(inner, ..) => {
				inner.base()
			}
			Kind::StdVector(vec) => {
				vec.element_type().base()
			}
			Kind::SmartPtr(ptr) => {
				ptr.pointee().base()
			}
			_ => {
				source
			}
		}
	}
/// Like source(), but digs down to the elements of arrays
Like source(), but digs down to the elements of arrays
Like source () but digs down to the elements of arrays
pub fn base(&self) -> TypeRef<'tu, 'g> {
		let source = self.source();
		match source.kind() {
			Kind::Array(inner, ..) => {
				inner.base()
			}
			Kind::StdVector(vec) => {
				vec.element_type().base()
			}
			Kind::SmartPtr(ptr) => {
				ptr.pointee().base()
			}
			_ => {
				source
			}
		}
	}
pub fn base ( & self ) -> TypeRef < ' tu , ' g > { let source = self . source ( ) ; match source . kind ( ) { Kind :: Array ( inner , .. ) => { inner . base ( ) } Kind :: StdVector ( vec ) => { vec . element_type ( ) . base ( ) } Kind :: SmartPtr ( ptr ) => { ptr . pointee ( ) . base ( ) } _ => { source } } }
Like source(), but digs down to the elements of arrays
Like source () but digs down to the elements of arrays
&self