Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez authored and gdesmott committed Aug 17, 2021
1 parent 38b951a commit 53fe300
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,32 +307,32 @@ impl Dependencies {
v
}

/// An iterator returning each [Library::libs] of each library, removing duplicates.
/// Returns a vector of [Library::libs] of each library, removing duplicates.
pub fn all_libs(&self) -> Vec<&str> {
self.aggregate_str(|l| &l.libs)
}

/// An iterator returning each [Library::link_paths] of each library, removing duplicates.
/// Returns a vector of [Library::link_paths] of each library, removing duplicates.
pub fn all_link_paths(&self) -> Vec<&PathBuf> {
self.aggregate_path_buf(|l| &l.link_paths)
}

/// An iterator returning each [Library::frameworks] of each library, removing duplicates.
/// Returns a vector of [Library::frameworks] of each library, removing duplicates.
pub fn all_frameworks(&self) -> Vec<&str> {
self.aggregate_str(|l| &l.frameworks)
}

/// An iterator returning each [Library::framework_paths] of each library, removing duplicates.
/// Returns a vector of [Library::framework_paths] of each library, removing duplicates.
pub fn all_framework_paths(&self) -> Vec<&PathBuf> {
self.aggregate_path_buf(|l| &l.framework_paths)
}

/// An iterator returning each [Library::include_paths] of each library, removing duplicates.
/// Returns a vector of [Library::include_paths] of each library, removing duplicates.
pub fn all_include_paths(&self) -> Vec<&PathBuf> {
self.aggregate_path_buf(|l| &l.include_paths)
}

/// An iterator returning each [Library::defines] of each library, removing duplicates.
/// Returns a vector of [Library::defines] of each library, removing duplicates.
pub fn all_defines(&self) -> Vec<(&str, &Option<String>)> {
let mut v = self
.libs
Expand Down

0 comments on commit 53fe300

Please sign in to comment.