caps: Add .structure() to CapsBuilder

Allows us to get the structure, to read fields after adding them to the
builder.
This commit is contained in:
Vivia Nikolaidou 2022-10-14 16:24:51 +03:00
parent 6d4ad712c7
commit 39bb9abc3c

View file

@ -934,6 +934,10 @@ impl<T> Builder<T> {
.append_structure_full(self.s, self.features);
caps
}
pub fn structure(&self) -> &crate::Structure {
&self.s
}
}
pub enum AnyFeatures {}