pub struct SpecializedDecl {
pub key: SpecializationKey,
pub decl: LcnfFunDecl,
pub code_growth: usize,
pub from_recursive: bool,
}Expand description
A specialized version of a function
Fields§
§key: SpecializationKeyThe specialization key
decl: LcnfFunDeclThe specialized function declaration
code_growth: usizeHow much code growth this specialization added (in instructions)
from_recursive: boolWhether this was created from a recursive function
Trait Implementations§
Source§impl Clone for SpecializedDecl
impl Clone for SpecializedDecl
Source§fn clone(&self) -> SpecializedDecl
fn clone(&self) -> SpecializedDecl
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 SpecializedDecl
impl RefUnwindSafe for SpecializedDecl
impl Send for SpecializedDecl
impl Sync for SpecializedDecl
impl Unpin for SpecializedDecl
impl UnsafeUnpin for SpecializedDecl
impl UnwindSafe for SpecializedDecl
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