[−][src]Struct vswhom::VsFindResult
The result of looking for Visual Studio and Windows SDK.
Fields
windows_sdk_version: NonZeroU8
windows_sdk_root: Option<OsString>
windows_sdk_um_library_path: Option<OsString>
windows_sdk_ucrt_library_path: Option<OsString>
vs_exe_path: Option<OsString>
vs_library_path: Option<OsString>
Methods
impl VsFindResult
[src][−]
pub fn search() -> Option<VsFindResult>
[src][−]
Use vswhom-sys
to find Visual Studio and Windows SDK and parse it.
Always returns None
on non-Windows.
pub unsafe fn from_raw_result(res: &Find_Result) -> Option<VsFindResult>
[src][−]
Parse a result from vswhom_sys
.
Returns None
if windows_sdk_version
is 0
.
Allocates fresh Rust OsString
s where non-null.
Always returns None
on non-Windows.
Trait Implementations
impl Eq for VsFindResult
[src]
impl Clone for VsFindResult
[src][+]
impl PartialOrd<VsFindResult> for VsFindResult
[src][+]
impl PartialEq<VsFindResult> for VsFindResult
[src][+]
impl Ord for VsFindResult
[src][+]
impl Hash for VsFindResult
[src][+]
impl Debug for VsFindResult
[src][+]
Auto Trait Implementations
impl Unpin for VsFindResult
impl Sync for VsFindResult
impl Send for VsFindResult
impl UnwindSafe for VsFindResult
impl RefUnwindSafe for VsFindResult
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,