pub struct Selection {
pub crt: String,
pub sdk: String,
pub files: Vec<Wanted>,
}Expand description
Which files an MSVC sysroot for a set of architectures is made of.
Fields§
§crt: StringThe Visual C++ release the CRT came from, such as 14.44.35220.
sdk: StringThe Windows SDK release, such as 10.0.26100.15.
files: Vec<Wanted>Every file, sorted by package and then by name so that two runs agree about the order.
Implementations§
Source§impl Selection
impl Selection
Sourcepub fn parse(text: &str, chips: &[Chip]) -> Result<Self, MsvcError>
pub fn parse(text: &str, chips: &[Chip]) -> Result<Self, MsvcError>
Choose what to download out of an installer manifest.
chips is which architectures to get libraries for. The headers are shared, so a selection
for four architectures is four library packages and one of everything else.
§Errors
When the document does not parse, when it has no Visual C++ or no Windows SDK in it, and when a package or an installer the selection needs is not among its files.
Trait Implementations§
impl Eq for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Freeze for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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