Skip to main content

GetNativeVersion

Trait GetNativeVersion 

Source
pub trait GetNativeVersion {
    // Required method
    fn native_version(&self) -> &NativeVersion;
}
Expand description

Returns the version of the native runtime.

Required Methods§

Source

fn native_version(&self) -> &NativeVersion

Returns the version of the native runtime.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: GetNativeVersion> GetNativeVersion for Arc<T>

Available on crate feature std only.

Implementors§