Skip to main content

Module fn_info

Module fn_info 

Source

Re-exports§

pub use super::mir_scan::check_safety;
pub use super::name::get_cleaned_def_path_name;

Structs§

AdtInfo
FnInfo

Enums§

FnKind

Functions§

append_fn_with_types
check_visibility
get_adt_def_id_by_adt_method
get_adt_via_method
get_all_mutable_methods
get_all_std_fns_by_rustc_public
get_cons
get_impls_for_struct 🔒
get_mutated_fields
Return field indices that a &mut self method writes to.
get_muts
Find &mut self methods (mutators) on the same struct as def_id.
get_ptr_deref_dummy_def_id
get_public_fields 🔒
get_type
has_mut_self_param 🔒
is_externally_reachable
parse_expr_into_number
parse expr into number.
returns_wrapped_self
Returns true when the function is a “wrapped” constructor that returns Option<Self> / Result<Self, _> rather than a bare Self.