pub enum CompilationTarget {
Linux(Architecture),
MacOS(Architecture),
MacOSUniversal,
Windows(Architecture),
}
Expand description
The target we’re generating a plugin for. This can be either the native target or a cross compilation target, so to reduce redundancy when determining the correct bundle paths we’ll use an enum for this.
Variants§
Linux(Architecture)
MacOS(Architecture)
MacOSUniversal
A special case for lipo’d x86_64-apple-darwin
and aarch64-apple-darwin
builds.
Windows(Architecture)
Trait Implementations§
source§impl Clone for CompilationTarget
impl Clone for CompilationTarget
source§fn clone(&self) -> CompilationTarget
fn clone(&self) -> CompilationTarget
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 CompilationTarget
impl Debug for CompilationTarget
impl Copy for CompilationTarget
Auto Trait Implementations§
impl RefUnwindSafe for CompilationTarget
impl Send for CompilationTarget
impl Sync for CompilationTarget
impl Unpin for CompilationTarget
impl UnwindSafe for CompilationTarget
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