pub trait IntoPlatformVersioned<T>: Sized {
// Required method
fn into_platform_versioned(self, platform_version: &PlatformVersion) -> T;
}Expand description
A trait for converting Self into another type T using a PlatformVersion.
This is the infallible counterpart of TryIntoPlatformVersioned.
Required Methods§
Sourcefn into_platform_versioned(self, platform_version: &PlatformVersion) -> T
fn into_platform_versioned(self, platform_version: &PlatformVersion) -> T
Performs the conversion.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.