Enum nextest_metadata::BuildPlatform
source · [−]pub enum BuildPlatform {
Target,
Host,
}
Expand description
The platform a binary was built on (useful for cross-compilation)
Variants
Target
The target platform.
Host
The host platform: the platform the build was performed on.
Trait Implementations
sourceimpl Clone for BuildPlatform
impl Clone for BuildPlatform
sourcefn clone(&self) -> BuildPlatform
fn clone(&self) -> BuildPlatform
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuildPlatform
impl Debug for BuildPlatform
sourceimpl<'de> Deserialize<'de> for BuildPlatform
impl<'de> Deserialize<'de> for BuildPlatform
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for BuildPlatform
impl Display for BuildPlatform
sourceimpl PartialEq<BuildPlatform> for BuildPlatform
impl PartialEq<BuildPlatform> for BuildPlatform
sourceimpl Serialize for BuildPlatform
impl Serialize for BuildPlatform
impl Copy for BuildPlatform
impl Eq for BuildPlatform
impl StructuralEq for BuildPlatform
impl StructuralPartialEq for BuildPlatform
Auto Trait Implementations
impl RefUnwindSafe for BuildPlatform
impl Send for BuildPlatform
impl Sync for BuildPlatform
impl Unpin for BuildPlatform
impl UnwindSafe for BuildPlatform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more