Struct unc_vm_compiler::Target 
source · pub struct Target { /* private fields */ }Expand description
This is the target that we will use for compiling the WebAssembly ModuleInfo, and then run it.
Implementations§
source§impl Target
 
impl Target
sourcepub fn new(triple: Triple, cpu_features: EnumSet<CpuFeature>) -> Self
 
pub fn new(triple: Triple, cpu_features: EnumSet<CpuFeature>) -> Self
Creates a new target given a triple
sourcepub fn cpu_features(&self) -> &EnumSet<CpuFeature>
 
pub fn cpu_features(&self) -> &EnumSet<CpuFeature>
The triple associated for the target.
Trait Implementations§
source§impl PartialEq for Target
 
impl PartialEq for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
Blanket Implementations§
source§impl<T> ArchivePointee for T
 
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
 
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
    _: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
 
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> CallHasher for T
 
impl<T> CallHasher for T
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
 
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
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.