pub enum PartialInlineRegion {
Prefix(usize),
TailOnly,
Full,
None,
}Expand description
Describes which portion of a callee body is eligible for partial inlining.
Variants§
Prefix(usize)
Inline the first N let-bindings of the function body.
TailOnly
Inline the return value only (tail region).
Full
Inline everything (full inline).
None
Do not inline.
Trait Implementations§
Source§impl Clone for PartialInlineRegion
impl Clone for PartialInlineRegion
Source§fn clone(&self) -> PartialInlineRegion
fn clone(&self) -> PartialInlineRegion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PartialInlineRegion
impl RefUnwindSafe for PartialInlineRegion
impl Send for PartialInlineRegion
impl Sync for PartialInlineRegion
impl Unpin for PartialInlineRegion
impl UnsafeUnpin for PartialInlineRegion
impl UnwindSafe for PartialInlineRegion
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