pub struct BuildInfoSet { /* private fields */ }Implementations§
Source§impl BuildInfoSet
impl BuildInfoSet
pub fn find_all() -> Result<Self>
pub fn path_from_env() -> impl Iterator<Item = PathBuf>
pub fn path_from_filesystem( current_dir: &Path, ) -> impl Iterator<Item = PathBuf> + use<'_>
pub fn get_current_target(&self, host: &str) -> Option<&BuildInfo>
pub fn all_targets<'a>( &'a self, host: &'a str, ) -> impl Iterator<Item = (bool, &'a BuildInfo)> + use<'a>
pub fn targets_and_paths( &self, ) -> impl Iterator<Item = (&'static str, &Path)> + use<'_>
Auto Trait Implementations§
impl Freeze for BuildInfoSet
impl RefUnwindSafe for BuildInfoSet
impl Send for BuildInfoSet
impl Sync for BuildInfoSet
impl Unpin for BuildInfoSet
impl UnwindSafe for BuildInfoSet
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