pub enum InlineAbility {
Ok {
params: Vec<String>,
body: String,
has_side_effects: bool,
},
}Expand description
The result of analysing a subroutine’s inlineability.
Variants§
Ok
The subroutine can be inlined.
Trait Implementations§
Source§impl Clone for InlineAbility
impl Clone for InlineAbility
Source§fn clone(&self) -> InlineAbility
fn clone(&self) -> InlineAbility
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 InlineAbility
impl RefUnwindSafe for InlineAbility
impl Send for InlineAbility
impl Sync for InlineAbility
impl Unpin for InlineAbility
impl UnsafeUnpin for InlineAbility
impl UnwindSafe for InlineAbility
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