Skip to main content

Sdk

Struct Sdk 

Source
pub struct Sdk { /* private fields */ }
Expand description

An SDK found by find_windows_sdk

Implementations§

Source§

impl Sdk

Source

pub fn libs(&self) -> impl Iterator<Item = &Path>

Directories containing static libraries (e.g. .lib files).

Source

pub fn path(&self) -> impl Iterator<Item = &Path>

Directories containing binaries (.exe and .dll files).

Source

pub fn include(&self) -> impl Iterator<Item = &Path>

Directories containing source headers (e.g. .h files)

Source

pub fn sdk_version(&self) -> &str

The Windows SDK version that was found.

Trait Implementations§

Source§

impl Default for Sdk

Source§

fn default() -> Sdk

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Freeze for Sdk

§

impl RefUnwindSafe for Sdk

§

impl Send for Sdk

§

impl Sync for Sdk

§

impl Unpin for Sdk

§

impl UnwindSafe for Sdk

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.