pub struct BundledToolkit {
pub name: &'static str,
pub bin_subdir: &'static str,
pub roots: &'static [ToolkitRoot],
pub anchor: Option<ToolkitAnchor>,
}Expand description
Declarative description of a toolkit that bundles helpers in a
known subdirectory (e.g. host-linux-x64/).
Fields§
§name: &'static strHuman-readable name, used for diagnostics.
bin_subdir: &'static strSubdirectory within each install prefix that holds the helpers.
roots: &'static [ToolkitRoot]Static roots to probe, ordered by preference.
anchor: Option<ToolkitAnchor>Optional $PATH anchor for non-standard installs.
Auto Trait Implementations§
impl Freeze for BundledToolkit
impl RefUnwindSafe for BundledToolkit
impl Send for BundledToolkit
impl Sync for BundledToolkit
impl Unpin for BundledToolkit
impl UnsafeUnpin for BundledToolkit
impl UnwindSafe for BundledToolkit
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more