pub struct BoxTargetAdapter {
pub id: &'static str,
pub platform: &'static str,
pub arch: &'static str,
pub host_os: &'static str,
pub host_arch: &'static str,
pub python: PythonLayout,
pub execution_affecting_environment_variables: &'static [&'static str],
pub self_test_python: &'static str,
}Expand description
What a target implies for the extracted tree.
Fields§
§id: &'static strCanonical adapter id, for example macos-aarch64.
platform: &'static strOperating system, as a scroll declares it.
arch: &'static strCPU architecture, as a scroll declares it.
host_os: &'static strstd::env::consts::OS value a host must report to run this box.
host_arch: &'static strstd::env::consts::ARCH value a host must report to run this box.
python: PythonLayoutInterpreter layout inside the box.
execution_affecting_environment_variables: &'static [&'static str]Inherited variables whose presence can change which code the interpreter loads.
self_test_python: &'static strThe platform assertion prepended to every self-test.
Trait Implementations§
Source§impl Clone for BoxTargetAdapter
impl Clone for BoxTargetAdapter
Source§fn clone(&self) -> BoxTargetAdapter
fn clone(&self) -> BoxTargetAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoxTargetAdapter
Source§impl Debug for BoxTargetAdapter
impl Debug for BoxTargetAdapter
impl Eq for BoxTargetAdapter
Source§impl PartialEq for BoxTargetAdapter
impl PartialEq for BoxTargetAdapter
impl StructuralPartialEq for BoxTargetAdapter
Auto Trait Implementations§
impl Freeze for BoxTargetAdapter
impl RefUnwindSafe for BoxTargetAdapter
impl Send for BoxTargetAdapter
impl Sync for BoxTargetAdapter
impl Unpin for BoxTargetAdapter
impl UnsafeUnpin for BoxTargetAdapter
impl UnwindSafe for BoxTargetAdapter
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.