pub enum InlineCommand<'a> {
KeepCall,
Inline(Cow<'a, Function>),
}
Expand description
A command directing Cranelift whether or not to inline a particular call.
Variants§
KeepCall
Keep the call as-is, out-of-line, and do not inline the callee.
Inline(Cow<'a, Function>)
Inline the call, using this function as the body of the callee.
It is the Inline
implementor’s responsibility to ensure that this
function is the correct callee. Providing the wrong function may result
in panics during compilation or incorrect runtime behavior.
Auto Trait Implementations§
impl<'a> Freeze for InlineCommand<'a>
impl<'a> RefUnwindSafe for InlineCommand<'a>
impl<'a> Send for InlineCommand<'a>
impl<'a> Sync for InlineCommand<'a>
impl<'a> Unpin for InlineCommand<'a>
impl<'a> UnwindSafe for InlineCommand<'a>
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