Struct wasmtime_environ::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
impl TargetFrontendConfig
[src]
impl TargetFrontendConfig
[src]pub fn pointer_type(self) -> Type
[src]
pub fn pointer_type(self) -> Type
[src]Get the pointer type of this target.
pub fn pointer_bits(self) -> u8
[src]
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]
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(&self) -> TargetFrontendConfig
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Hash for TargetFrontendConfig
[src]
impl Hash for TargetFrontendConfig
[src]impl Copy for TargetFrontendConfig
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more