Struct gir_parser::Repository
source · pub struct Repository { /* private fields */ }Implementations§
source§impl Repository
impl Repository
pub fn from_path(path: impl AsRef<Path>) -> Result<Self, ParserError>
pub fn version(&self) -> Option<&Version>
pub fn c_identifier_prefixes(&self) -> Option<&str>
pub fn c_symbol_prefixes(&self) -> Option<&str>
pub fn namespace_includes(&self) -> &[NamespaceInclude]
pub fn header_includes(&self) -> &[HeaderInclude]
pub fn packages(&self) -> &[Package]
pub fn namespace(&self) -> &Namespace
Trait Implementations§
source§impl Debug for Repository
impl Debug for Repository
source§impl XmlDeserialize for Repository
impl XmlDeserialize for Repository
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more