Struct system_deps::Dependencies [−][src]
All the system dependencies retrieved by Config::probe.
Implementations
impl Dependencies[src]
pub fn get_by_name(&self, name: &str) -> Option<&Library>[src]
Retrieve details about a system dependency.
Arguments
name: the name of thetomlkey defining the dependency inCargo.toml
pub fn iter(&self) -> impl Iterator<Item = (&str, &Library)>[src]
An iterator visiting all system dependencies in arbitrary order.
The first element of the tuple is the name of the toml key defining the
dependency in Cargo.toml.
pub fn all_libs(&self) -> impl Iterator<Item = &str>[src]
An iterator returning each Library::libs of each library, removing duplicates.
pub fn all_link_paths(&self) -> impl Iterator<Item = &PathBuf>[src]
An iterator returning each Library::link_paths of each library, removing duplicates.
pub fn all_frameworks(&self) -> impl Iterator<Item = &str>[src]
An iterator returning each Library::frameworks of each library, removing duplicates.
pub fn all_framework_paths(&self) -> impl Iterator<Item = &PathBuf>[src]
An iterator returning each Library::framework_paths of each library, removing duplicates.
pub fn all_include_paths(&self) -> impl Iterator<Item = &PathBuf>[src]
An iterator returning each Library::include_paths of each library, removing duplicates.
pub fn all_defines(&self) -> impl Iterator<Item = (&str, &Option<String>)>[src]
An iterator returning each Library::defines of each library, removing duplicates.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dependencies
impl Send for Dependencies
impl Sync for Dependencies
impl Unpin for Dependencies
impl UnwindSafe for Dependencies
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,