pub trait DownloadsByPlatform {
// Required method
fn for_platform(&self, platform: Platform) -> Option<&Download>;
}Expand description
Extension trait for download slices, providing platform-based lookup.
Required Methods§
Sourcefn for_platform(&self, platform: Platform) -> Option<&Download>
fn for_platform(&self, platform: Platform) -> Option<&Download>
Returns the download entry for the given platform, if available.