pub struct Repository { /* private fields */ }
Implementations§
Source§impl Repository
impl Repository
pub fn from_path_follow_namespaces_and_cache( cache: &mut HashMap<String, Self>, package_file: &str, girs_dirs: impl AsRef<Path>, ) -> Result<(), ParserError>
pub fn from_path_follow_namespaces( package_file: &str, girs_dirs: impl AsRef<Path>, ) -> Result<HashMap<String, Self>, ParserError>
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 Clone for Repository
impl Clone for Repository
Source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Repository
impl Debug 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)