Struct wasmtime_environ::isa::TargetFrontendConfig [−][src]
pub struct TargetFrontendConfig {
pub default_call_conv: CallConv,
pub pointer_width: PointerWidth,
}This struct provides information that a frontend may need to know about a target to produce Cranelift IR for the target.
Fields
default_call_conv: CallConvThe default calling convention of the target.
pointer_width: PointerWidthThe pointer width of the target.
Implementations
impl TargetFrontendConfig[src]
impl TargetFrontendConfig[src]pub fn pointer_type(self) -> Type[src]
Get the pointer type of this target.
pub fn pointer_bits(self) -> u8[src]
Get the width of pointers on this target, in units of bits.
pub fn pointer_bytes(self) -> u8[src]
Get the width of pointers on this target, in units of bytes.
Trait Implementations
impl Clone for TargetFrontendConfig[src]
impl Clone for TargetFrontendConfig[src]pub fn clone(&self) -> TargetFrontendConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Hash for TargetFrontendConfig[src]
impl Hash for TargetFrontendConfig[src]