Struct cranelift_codegen::isa::TargetFrontendConfig [−][src]
pub struct TargetFrontendConfig {
pub default_call_conv: CallConv,
pub pointer_width: PointerWidth,
}
Expand description
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: CallConv
The default calling convention of the target.
pointer_width: PointerWidth
The pointer width of the target.
Implementations
Get the pointer type of this target.
Get the width of pointers on this target, in units of bits.
Get the width of pointers on this target, in units of bytes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TargetFrontendConfig
impl Send for TargetFrontendConfig
impl Sync for TargetFrontendConfig
impl Unpin for TargetFrontendConfig
impl UnwindSafe for TargetFrontendConfig
Blanket Implementations
Mutably borrows from an owned value. Read more