Struct tugger_rust_toolchain::manifest::Manifest [−][src]
Represents a toolchain manifest file.
Fields
packages: HashMap<String, Package>
Implementations
impl Manifest
[src]
impl Manifest
[src]pub fn from_toml_bytes(data: &[u8]) -> Result<Self>
[src]
Obtain an instance by parsing TOML bytes.
pub fn from_toml(table: Table) -> Result<Self>
[src]
pub fn parse_packages(table: Table) -> Result<HashMap<String, Package>>
[src]
pub fn find_package(
&self,
package: &str,
target_triple: &str
) -> Option<(String, ManifestTargetedPackage)>
[src]
&self,
package: &str,
target_triple: &str
) -> Option<(String, ManifestTargetedPackage)>
Find a package for a target triple in this manifest.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Manifest
impl RefUnwindSafe for Manifest
impl UnwindSafe for Manifest
impl UnwindSafe for Manifest
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,