pub enum BuildPlatform {
Target,
Host,
}
Expand description
The platform a binary was built on (useful for cross-compilation)
Variants§
Trait Implementations§
source§impl Clone for BuildPlatform
impl Clone for BuildPlatform
source§fn clone(&self) -> BuildPlatform
fn clone(&self) -> BuildPlatform
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BuildPlatform
impl Debug for BuildPlatform
source§impl<'de> Deserialize<'de> for BuildPlatform
impl<'de> Deserialize<'de> for BuildPlatform
source§fn 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
source§impl Display for BuildPlatform
impl Display for BuildPlatform
source§impl PartialEq for BuildPlatform
impl PartialEq for BuildPlatform
source§impl Serialize for BuildPlatform
impl Serialize for BuildPlatform
impl Copy for BuildPlatform
impl Eq for BuildPlatform
impl StructuralPartialEq for BuildPlatform
Auto Trait Implementations§
impl Freeze for BuildPlatform
impl RefUnwindSafe for BuildPlatform
impl Send for BuildPlatform
impl Sync for BuildPlatform
impl Unpin for BuildPlatform
impl UnwindSafe for BuildPlatform
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)