pub struct FunctionSignatureParamFlags {
pub dead: bool,
pub owned_to_guaranteed: bool,
pub exploded: bool,
pub guaranteed_to_owned: bool,
pub existential_to_generic: bool,
}Expand description
Option flags that can be combined with the base param kind.
Fields§
§dead: boolParameter was found dead (unused) and removed.
owned_to_guaranteed: boolOwned parameter converted to guaranteed (borrowed).
exploded: boolExploded (SROA - Scalar Replacement of Aggregates) - struct/tuple split into fields.
guaranteed_to_owned: boolGuaranteed parameter converted to owned.
existential_to_generic: boolExistential parameter specialized to concrete type.
Implementations§
Trait Implementations§
Source§impl Clone for FunctionSignatureParamFlags
impl Clone for FunctionSignatureParamFlags
Source§fn clone(&self) -> FunctionSignatureParamFlags
fn clone(&self) -> FunctionSignatureParamFlags
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 moreSource§impl Debug for FunctionSignatureParamFlags
impl Debug for FunctionSignatureParamFlags
Source§impl Default for FunctionSignatureParamFlags
impl Default for FunctionSignatureParamFlags
Source§fn default() -> FunctionSignatureParamFlags
fn default() -> FunctionSignatureParamFlags
Returns the “default value” for a type. Read more
impl Copy for FunctionSignatureParamFlags
impl Eq for FunctionSignatureParamFlags
impl StructuralPartialEq for FunctionSignatureParamFlags
Auto Trait Implementations§
impl Freeze for FunctionSignatureParamFlags
impl RefUnwindSafe for FunctionSignatureParamFlags
impl Send for FunctionSignatureParamFlags
impl Sync for FunctionSignatureParamFlags
impl Unpin for FunctionSignatureParamFlags
impl UnsafeUnpin for FunctionSignatureParamFlags
impl UnwindSafe for FunctionSignatureParamFlags
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