pub struct RuntimeInfo { /* private fields */ }Expand description
Identity of the implementation actually selected, rather than just build headers.
Implementations§
Source§impl RuntimeInfo
impl RuntimeInfo
Sourcepub fn edition(&self) -> SdkEdition
pub fn edition(&self) -> SdkEdition
The edition of the selected implementation; see SdkEdition for
how it is decided.
This does not establish a license entitlement.
Sourcepub fn linkage(&self) -> SdkLinkage
pub fn linkage(&self) -> SdkLinkage
Whether the implementation is shared or statically linked.
Sourcepub fn library_path(&self) -> Option<&Path>
pub fn library_path(&self) -> Option<&Path>
Canonical loaded file, with links resolved, for a shared implementation. Uses the platform’s ordinary path form; Windows extended syntax is kept only when needed to express the same file.
Sourcepub fn raw_version(&self) -> &str
pub fn raw_version(&self) -> &str
Unmodified native version text, including any build timestamp.
Sourcepub fn version(&self) -> Option<SdkVersion>
pub fn version(&self) -> Option<SdkVersion>
Parsed final version token, when recognized.
Trait Implementations§
Source§impl Clone for RuntimeInfo
impl Clone for RuntimeInfo
Source§impl Debug for RuntimeInfo
impl Debug for RuntimeInfo
impl Eq for RuntimeInfo
Source§impl Hash for RuntimeInfo
impl Hash for RuntimeInfo
Source§impl PartialEq for RuntimeInfo
impl PartialEq for RuntimeInfo
impl StructuralPartialEq for RuntimeInfo
Auto Trait Implementations§
impl Freeze for RuntimeInfo
impl RefUnwindSafe for RuntimeInfo
impl Send for RuntimeInfo
impl Sync for RuntimeInfo
impl Unpin for RuntimeInfo
impl UnsafeUnpin for RuntimeInfo
impl UnwindSafe for RuntimeInfo
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